User Control Panel can't connect to MySQL Server

Hi All,

Recently the UCP ( stopped working on my FreePBX ( system. Looking at the ucp_err.log I see:

There was an error with MySQL Connection
Error: Can’t connect to MySQL server on ‘’ (111 “Connection refused”) code: 2003 }
Error: MySQL server has gone away code: 2006

running netstat -ntlup | grep mysql shows:
tcp 0 0* LISTEN 19251/mysqld

Seems like mysql is up and running yet ucp can’t seem to connect to it.

Any ideas?

MySQL buf info has some interesting discussion about this error. Make sure your queries are not exceeding the “in application” timeout (which is usually about 30 seconds).

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.