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

maria db connection

Office

New Pleskian
I came back, I delete the Maria db 10.4 and installed 10.3 version. But when try to create a new db I had the same issue:
Error: The test connection to the database server has failed:

SQLSTATE[HY000]: General error: 1449 The user specified as a definer ('root'@'localhost') does not exist

So now what I can do?
 
Did you upgrade your MariaDB version following this guide?
How to upgrade MySQL 5.5 to 5.6/5.7 or MariaDB 5.5 to 10.0/10.1/10.2 on Linux?
And how did you so easily downgrade again???
According to the error message there is no entry for root in the user table of the database. This leads me to the idea that there might not be any content at all in your database. You need to disable password requirement on login to be able to access the database in the first place or you can try to set a new root password.
mysqladmin --user=root password "newpassword"
 
To remove the previous version of db I follow this guidehttps://stackoverflow.com/questions/33362904/completely-remove-mariadb-or-mysql-from-centos-7-or-rhel-7
after I reinstall the right version of Maria DB
 
It appears that this guide is for an empty database or at least one where it is not important to keep existing data. I'd guess that you probably have lost your database content and need to reinstall Plesk and then restore your content from a backup.
 
how can I achieve this:
You need to disable password requirement on login to be able to access the database in the first place or you can try to set a new root password.
mysqladmin --user=root password "newpassword"
 
It appears that this guide is for an empty database or at least one where it is not important to keep existing data. I'd guess that you probably have lost your database content and need to reinstall Plesk and then restore your content from a backup.
The server is a fresh installation, and there is'nt any data.
 
Peter don't mark solved the thread. It's my thread and I need to resolve this problem. When I solved the problem I close the thread. Thanks.
 
The problem here is that Plesk heavily relies on the database. During installation it creates several tables and users including an "admin" user that is provided with a root password to the database. If this content is missing, there is no way to get back into a working installation. The content is obviously missing, so you need to start over with the server setup.

You can try to run
# plesk repair installation
and then
# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
but I have doubts that it will fix it. If this does not fix the issue, you need to reinstall your server including reinstalling Plesk.
 
Back
Top