Help Desk Help Desk   Phone +1 (917) 409-7605 M-F 10am-6pm EST   Client Login  
Home
Features
Screenshots
Live Demo
Free Trial
Pricing
Help Desk
Search:
Help Desk » 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 tech@osicodesinc.com 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? let us know
17 people found this helpful