Ho to log on MySQL on CentOS 6.3 using root account from the domain and not localhost?

Posted by Ziouas on Server Fault See other posts from Server Fault or by Ziouas
Published on 2012-08-29T06:52:07Z Indexed on 2012/08/29 9:40 UTC
Read the original article Hit count: 395

Filed under:
|

I don't know if I'll make the issue clear, but I've installed MySQL on CentOS 6.3 using root account on a specific domain (f.ex. root@mydomain), but when i try to log on to it I'm being asked for password to root@localhost account, which I do not have access to. How can I log on to MySQL installed on 'mydomain' and not to 'localhost'?

I've tried editing my.cnf using bind-address='domain_ip', but it didn't help, it still wanted localhost password.

© Server Fault or respective owner

Related posts about mysql

Related posts about centos