PHP can't login to MySQL server? -


i have client.php file in server a use database server server b. both centos.

i have installed necessary services such php, phpmyadmin, mysql on both servers , @ first, encountered issue "reading initial communication packets, lost connection sql" when login using php file , researched, needed run following commands.

setsebool -p httpd_can_network_connect=1 setsebool -p httpd_can_network_connect_db=1  

after running commands, error message doesn't appear anymore doesn't log in @ all.. stuck in login page.

do have allow features php able work mysql in centos remotely? please kindly out im newbie in linux.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -