Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access mysql database from remote system having different ip series

My MySQL server is installed in X.X.60.X and accessing it through JDBC from X.X.80.X . I can connect it through MySQL workbench but when connect through the program it shows the following error message.

java.sql.SQLException: Access denied for user 'user'@'X.X.80.X' (using password: NO).

I have given all privileges to 'user'@'X.X.80.X in the server.

like image 477
Master Mind Avatar asked Nov 22 '25 19:11

Master Mind


1 Answers

Is the password for user 'user' set in you MySQL server? If yes, check your programm, is's not using password:(using password: NO)

like image 116
TEXHIK Avatar answered Nov 25 '25 10:11

TEXHIK



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!