• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Cannot get MariaDB working at all after broken upgrade

D

Deleted member 163062

Guest
Server operating system version
Centos 7
Plesk version and microupdate number
18.0.71.2
Hi all,

I was upgrading Plesk and it appeared to break during the process.

It appears that MariaDB has broken and I cannot get it working at all.

The error is "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" and I have gone through as many options as I can find and MariaDB simply cannot start. I have made various changes to my.cnf and tried to run with the host parameter being either 127.0.0.1, 0.0.0.0 or localhost and none of these work either.

Also, /usr/lib/systemd/system/mariadb.service.d is empty so systemctl start mariadb / mysql doesn't work.

Help. I'm really stuck :( thanks anyone for your help.
 
You got a few options:

You can try following the guide located at https://support.plesk.com/hc/en-us/...-connect-to-local-MySQL-server-through-socket
OR
Restore from a snapshot (I hope you've made a snapshot before the upgrade).

Last option I can provide is to reach out to plesk support directly to see if it's recoverable if you do not have any backups and/or have not created a snapshot before the upgrade.

I found myself in the same problem though and decided to take this chance (after restoring from last week's backup) to just move to a whole new server lol.

Either case, good luck o7
 
You got a few options:

You can try following the guide located at https://support.plesk.com/hc/en-us/...-connect-to-local-MySQL-server-through-socket
OR
Restore from a snapshot (I hope you've made a snapshot before the upgrade).

Last option I can provide is to reach out to plesk support directly to see if it's recoverable if you do not have any backups and/or have not created a snapshot before the upgrade.

I found myself in the same problem though and decided to take this chance (after restoring from last week's backup) to just move to a whole new server lol.

Either case, good luck o7

Thanks. Unfortunately it didn't work as Plesk can't start due to the socket issue. I have also reinstalled MariaDB and that didn't generate a new socket either.

I'm also in a support doom loop - Plesk says "contact your reseller" (hosting company) and the hosting company says "contact Plesk". I have asked the hosting company to sort this out but fear that I'm going to be totally cast adrift in this situation.
 
Back
Top