• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

ERROR: PleskFatalException:

EricHamby

Basic Pleskian
My internet was down for a few days. When i got it back up and tried logging on to one of my servers im getting this error.

ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): Connection refused (auth.php:142)
 
Tried restarting PSA and get this...



[root@server1 ~]# /etc/init.d/psa stop
Stopping psa... done
[root@server1 ~]# /etc/init.d/psa start
Starting psa... Starting sw-engine-fpm: [ OK ]
done
Starting xinetd service... done
Starting sw-cp-server service... done
Starting mysqld service... failed
Trying to connect to MySQL... Failed to connect to MySQL: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Trying to start service mysqld... mysqld is stopped
Another MySQL daemon already running with the same unix socket.
Starting mysqld: [FAILED]
 
Hello,

I can see there is an issues with the MySQL sock, You will have to remove that MySQL sock from /var/lib/mysql directory and try to start your MySQL services and plesk service on your server.
 
You should also look at the MySQL log for the cause of MySQL failing to start.
 
Still having issues here. each time i restart the server its giving me this issue. I have resorted to wiping the server after backing everything up, installing a fresh copy of Centos 6.5 and plesk and after first restart i got this issue again.
 
I have exactly the same problem, just started on a couple of boxes that have been running for several months. They are both test VMs, so have re-images both with both previously working images, and fresh Ubuntu and Centos installs followed by a clean Plesk installation. Same problem on all.

Can anyone shed any light?
 
Thought I'd already posted here.

My mysql.sock permissions were incorrect. chmod 777 mysql.sock and problem solved Eric.
 
ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): Connection refused (auth.php:149)

I have the same Problem, i need Help.
I can`t solve the Problem.

Maybe after a Plesk Update this Error shows.
The CHMOD Solutions doesn`t work.
 
Last edited:
ERROR: Another MySQL daemon already running with the same unix socket.

Solution:
First stop mysql service and Rename or delete current mysql.sock file and restart mysql service

# /etc/init.d/mysqld stop

# mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.back
or other catalog name:
# mv /var/lib/mysqld/mysql.sock /var/lib/mysqld/mysql.sock.back

And then start mysql service

# /etc/init.d/mysqld start

You will see your issue is resolved and mysql service started smoothly.
enjoy
juliusz
 
Last edited:
Back
Top