• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved After upgrading from ubuntu 18.04 to Ubuntu 20.04 MySQL 8.0 and plesk stop working at 100%

EmilioO

Basic Pleskian
Server operating system version
Ubuntu 20.04
Plesk version and microupdate number
18.0.64 #1
I used the script to upgrade ubuntu 18.04 to 20.04, upgrade fails and I have to manually recovery packages and database dumps from backup.
After many fixes I got plesk running again but certain tasks (backups, plesk repair installation) fails which the error "Plugin caching_sha2_password could not be loaded: /usr/lib/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory"

I'm using ubuntu 20.4 and Plesk obsidian 18.0.64 Update 1

I've checked another server with Ubuntu 20.04, Plesk and MariaDB 10 and this file "/usr/lib/mariadb/plugin/caching_sha2_password.s" doesn't exists.
 
The issue is most likely caused because the 'caching_sha2_password' authentication plugin used for the 'apsc' database user. What you can do is try to configure the user to use 'mysql_native_password' authentication instead.

  1. Back up Plesk databases:
    plesk db dump > psadump.sql
  2. Log in to the 'mysql' database:
    plesk db
    ...
    mysql> use mysql;
  3. Change authentication plugin:
    mysql> ALTER USER 'apsc'@'localhost' IDENTIFIED WITH 'mysql_native_password' BY '<password>';
    Query OK, 0 rows affected (0.03 sec)

    mysql> quit
  4. Update credentials stored in the 'psa' database using 'plesk repair db' utility:
    plesk repair db
 
Thanks, finally resolved the problem by switching to MariaDB.
Hi EmilioO,
I facing the same issue ...
Can you explain me the way you switched from MySQL to MariaDB?
I tried some older ways from Plesk website, but all not successful.
 
https://support.plesk.com/hc/en-us/...ch-from-MySQL-to-MariaDB-on-Plesk-for-Windows
But be careful the guide its not 100% correct. I think you don't hace to import Mysql main database.
 
Ah... you not using Linux. Looks like with Windows you can add by components and with linux its not possible. Must be installed with shell.
 
I'm using Ubuntu, check the second link, also in first link point to Plesk article for linux.
 
Back
Top