Class LicenseConfiguration
java.lang.Object
com.mysql.jdbc.LicenseConfiguration
Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
-
Method Summary
Modifier and TypeMethodDescription(package private) static voidcheckLicenseType(Map<String, String> serverVariables) Used in commercially-licensed clients that require connections to commercially-licensed servers as part of the licensing terms.
-
Method Details
-
checkLicenseType
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
-