Class LicenseConfiguration

java.lang.Object
com.mysql.jdbc.LicenseConfiguration

class LicenseConfiguration extends Object
Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
  • Method Details

    • checkLicenseType

      static void checkLicenseType(Map<String,String> serverVariables) throws SQLException
      Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
      Parameters:
      serverVariables - a Map of the output of 'show variables' from the server we're connecting to.
      Throws:
      SQLException - if commercial license is required, but not found