I am trying to connect to a MySQL DB on a linux server from a Java App on a win32 pc. I suspect I am not writing the url properly.
here is the code:
Connection con = DriverManager.getConnection("jdbc:mysql://paptais07:3306/test" , "root", "");
here is the error:
java.sql.SQLException: Access denied for user 'root'@'pc5033.petrotrin.com' (using password: NO)
pc5033 is my pc and petrotrin is the domain it is in.
any help will be much appreciated.