![]() Simply paste the " mysql-connector-java-3.0.17-ga-bin.jar "įile over the above location relative to your machine.Īfter this execute the code it will gonna work fine. ![]() (You can get this file easily downloadable on Internet, Search by Here is the solution for this for windows If you will simply install the mysql and run the above code Mysql is installed by default on port 3306 This code on execution will create a database named payroll1. Stmt.executeUpdate("CREATE DATABASE payroll1") String url ="jdbc:mysql://localhost:3306/mysql" Ĭonnection con = DriverManager.getConnection(url,"root", "") I m done with its solution and writing the steps i followed. ![]() While connecting Java application to the mysql.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |