• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

ERROR: PleskFatalException

NattyD

New Pleskian
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.
 
What error are you getting in your /var/log/mysql/mysql.log?

And check your /tmp and mysql.sock permission on your server.
 
The /var/log/mysql/mysql.log ist empty.
The mysql.sock i have edit to chmod 777

In the /tmp/ folder are
plesk_11.5.30_reset_instance_data.log
plesk_11.5.30_reset_instance_data_problems.log
 
Can you please check your mysql services status and try to login your mysql through command line with the following command


Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
 
root@h2230831:/# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
 
root@h2230831:/# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
 
root@h2230831:/# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
 
root@h2230831:/# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start
 
Hello,

I can see there is an issues with the MySQL services. Please check your mysql logs config and check that files OR contact your server admin to check this mysql issues

Code:
service mysql status

service mysql start
 
Last edited:
Back
Top