Try it FREE
Knowledge Base Frequently Asked Questions   Phone Phone: +1 (720) 336-8323 M-F 9am-5pm MST   Download Free
Free Trial
Knowledge Base
Knowledge Base » Errors and Troubleshooting » Can't connect to MySQL
Can't connect to MySQL

The MySQL server is not running or the location of the MySQL socket is not found.


According to the MySQL manual regarding this error: 


Make sure that the mysql server is running. If it is not, clients cannot connect to it. For example, if an attempt to connect to the server fails with a message such as one of those following, one cause might be that the server is not running:


If you receive this error during new PHP Live! installation, please visit the MySQL official document for the troubleshoot procedures.


If you receive this error after the installation, most likely the MySQL values have changed or needs to be updated.  Double check the MySQL values are correct at the file:


phplive/web/config.php file ($CONF['SQLHOST'] value is the MySQL host).


If the MySQL information needs to be updated for your PHP Live! system, the following documentation details the procedures.  If the MySQL values seems to be correct, then most likely the sever is not running and you will want to visit the MySQL official document for the troubleshoot procedures.


If needing further assistance regarding this issue, please contact your server admin to obtain the correct MySQL information or to check all areas of MySQL.  You can also email and we can try to provide some information but most likely this will need to be resolved at the server level because it is server related.

Was this helpful?
could be more helpful? send comment
18 people found this helpful
back to top