Mysql client can be connected, php cannot be connected, please kindly advise that the database client can be connected to php and cannot be connected after the remote connection to mysql is closed through a card bar ------ solution -------------------- you need to install php_mysql & nbsp; or use mysqli for operations. Because you have installed mysqli, we recommend that you use mysqli. Reference: the www. cnblogs. co mysql client can be connected. php cannot be connected. please kindly advise
After the mysql remote connection is closed
The database client can be connected
Php cannot be connected
------ Solution ----------------------
Install php_mysql or use mysqli.
Because you have installed mysqli, we recommend that you use mysqli.
Reference: http://www.cnblogs.com/siqi/p/3776577.html
------ Solution ----------------------
Not solved yet?
From the #1 command window, we can see:
1. your MySQL version is 5.5
2. your MySQL instance is located in the system search path.
You can try to remove the MySQL PATH from the PATH of the system environment variable or insert the php PATH to the MySQL PATH.
If MySQL5.6 is required, because php cannot use the client of MySQL5.6, you must use the client that you carry.
This problem is very likely to happen to you.
This is one of the reasons why mysql extension is not recommended in php5.5.