I am trying to setup phpMyAdmin to use with a remote MySQL databases on Scientific Linux release 6.2

Posted by techsjs2012 on Server Fault See other posts from Server Fault or by techsjs2012
Published on 2012-12-06T15:52:57Z Indexed on 2012/12/06 17:07 UTC
Read the original article Hit count: 188

Filed under:
|
|

I am trying to setup phpMyAdmin to use with a remote MySQL databases on Scientific Linux release 6.2.

If I use the mysql command line to connect to the remote database it works great but if I use mysqladmin I am getting "#2002 Cannot log in to the MySQL server".

I have found if I do a:

setenforce 0

It will work from myphpadmin to my remote database but once I reboot or set Scientific Linux setenforce back to one it stops working again..

I know setenforce 0 is not the right thing to do but can someone please give me details steps on how to get this working the right way... thanks I am new to Scientific Linux and been having some issues.. thanks

© Server Fault or respective owner

Related posts about mysql

Related posts about phpmyadmin