JDBC Mac problem? | Selenium Forum
M
Posted on 07/09/2015
I'm having trouble configuring and executing the JDBC codes for use on MAC. Can someone help me? I do not have a password for MySql on mac as it does not have one.

M
Replied on 07/09/2015

try this one

password="";

instead of password=null;


M
Replied on 08/09/2015

I have tried that before, with no difference in output. Could it be the port number? I followed the code examples exactly, and changed nothing.


M
Replied on 08/09/2015

1) Check port number on which mysql is running
2) Prefer giving password to db
3) e.printStacktrace - put this in catch block