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

c# SetCompatibleTextRenderingDefault must be called before the first -

How to prevent logback from emitting repeated "Empty watch file list. Disabling" messages -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -