Question

no access to connect with mysql

Posted April 12, 2015 1.5k views
CentOSMySQLNetworking

Hi i am trying to connect with my mysql server running on centos 7

But its saying: Acces denied for user data@myip. and i can’t connect to root either.

please help me?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

I fixed it using a query:

update user set host=’%’ where host=‘localhost’;

Submit an Answer