• 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.

Resolved Unable to manage DB server from plesk but mysql is reachable from ssh

Taum

New Pleskian
Hello,

I've got a problem on my plesk panel.

Actually, everything works well (all my websites are running) but I cannot manage my database server from plesk. Plesk tell me that it cannot connect to the server.
In addition, when I try to create a new user on this database, i've got this message :

Error: Connection to the database server failed: Column count of mysql.user is wrong. Expected 43, found 42. Created with MySQL 50547, now running 50636. Please use mysql_upgrade to fix this error.

And when I try to run mysql_upgrade, I've got this message :

Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Error: Failed while fetching Server version! Could be due to unauthorized access.
FATAL ERROR: Upgrade failed​

Nevertheless, I can connect to mysql from ssh without any problems.

I tried to run a yum upgrade, to run service restart mysqld, restart the server, but nothing works...

Do you know how to solve this issue ?

Thank you !
Thomas
 

Attachments

  • Capture d’écran 2017-04-18 à 15.27.11.png
    Capture d’écran 2017-04-18 à 15.27.11.png
    134.1 KB · Views: 6
Yes, I upgrade to 5.6 few month ago, but the issue is from this week.

I tried to run

# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql_upgrade -u admin --host localhost --port

and everything was OK.

After a service mysqld restart, the issue is still there :(
 
Ok, i found a solutions. I run a

# plesk repair all -n

And it appears that I had some warns on the db. I ran a

# plesk repair db -verbose

And it ask me if y want to remove some rows. It fix everything.

Thank you so much :)
 
I have got nearly the same problem, but this solution did not help:
In that case it is probably not nearly the same problem. According to your first comment that was edited meanwhile, there was at least an additional inconsistency in your Plesk database as described in Error: Some fields are empty or contain an improper value. ('home' = '') . Could you please open a separate thread for it and describe what you are experiencing in more detail there? This thread here is marked as solved, so other users won't care much about it anyway. It is better to discuss different issues in different threads.
 
Back
Top