I want to connect to a MySQL database. While installing MySQL I did not give any password, so in my program I did the same but I am getting error on connection. I am using p
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/easylibdb1","root",null);
Remove the 2 quotes after password in your properties file. So password=""should be password=
password=""
password=