• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Question Mysql is down

iceman333

Basic Pleskian
MySQL Community Server 5.7.16 is not running Ubuntu 14.04.5 LTS

I have tried to make the update on Onyx. It was canceled because of errors. Have then tried as in other post to correct the error. The mysql server can not be started. I can not start the repair. What can I do to make the error.

Need urgent help. Thank you in advance

Gr Wolfgang
 

Attachments

  • parallels-installation-log(1).txt
    36.1 KB · Views: 0
root@:~# plesk repair -y
PleskDBException: Unable to connect to database: /var/run/mysqld/mysqld.sock (Error code: 2002). Please check that database server is started and accessible.
file: /opt/psa/admin/plib/CommonPanel/Application/Abstract.php
line: 69
code: 0
trace: #0 /opt/psa/admin/plib/api-common/AbstractCu.php(1640): CommonPanel_Application_Abstract::initDbAdapter()
#1 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(21): AbstractCu::initDb()
#2 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(64): CliUtilityRunner->run()
#3 /opt/psa/admin/plib/api-cli/repair.php(4): require_once(string '/opt/psa/admin/plib/api-cli/CliUtilityRunner.ph p')

[2016-11-08 22:05:06] DEBUG [util_exec] [58224c122a62e] Starting: send-error-report /opt/psa/admin/bin/send-error-report
[2016-11-08 22:05:06] DEBUG [util_exec] [58224c122a62e] Finished in 0.00326s, Result: TRUE
Unable to connect to database: /var/run/mysqld/mysqld.sock (Error code: 2002). Please check that database server is started and accessible.

exit status 1



This is the error in repair
 
I mean the mysql. error .Or where else should I look.

There is enough free space on the plate is only 20% .
I have tried everything. I can not get him to run. Can not run autoinstaller. Stops because mysql is not available.
 
Log file location specified in my.cnf file. For example:

# cat /etc/mysql/my.cnf | grep log_error
log_error = /var/log/mysql/error.log
 
Try to fix your MySQL server with

# mysql_upgrade -u admin -p`cat /etc/psa/.psa.shadow`

After that try to starat it and check logs for possible error messages.
 
@iceman333, I suppose you've upgraded your MySQL from system 5.5 to 5.7, but didn't adapt its configuration?

Try removing the key_buffer=16M option(s) from /etc/mysql/my.cnf

Please also read MySQL upgrade guide very carefully.
 
i have tried whis force

mysql_upgrade -u admin -p`cat /etc/psa/.psa.shadow` --force
mysql_upgrade: [Warning] Using a password on the command line interface can be insecure.
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through sock et '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
 
Back
Top