Under normal circumstances, when we write jdbc to connect to a local mysql database, we usually write like this
jdbc:mysql:localhost:3306/database name
Here is the simple method to be mentioned
jdbc:mysql:///database name
Under normal circumstances, when we write jdbc to connect to a local mysql database, we usually write like this
jdbc:mysql:localhost:3306/database name
Here is the simple method to be mentioned
jdbc:mysql:///database name