use mysql in java program code example
Example: use mysql in java program
// For windows
java -cp .;/path/to/mysql-connector-java-8.0.{xx}.jar JDBCClassToRun
// For macOS / Unixes
java -cp .:/path/to/mysql-connector-java-8.0.{xx}.jar JDBCClassToRun