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

Question How to delete a non-existent database user

Zoo3

Regular Pleskian
I faced another problem with Plesk yesterday (it solved it) and a different problem occurred.

When I run "plesk repair installation" command, the DB fails and fails.
I had previously installed RoundCube. I have deleted it now. An error occurs that can not operate the user of the DB it was using. Of course, the database does not exist by mysql command, and the user is not displayed.

Code:
ERROR 1045 (28000): Access denied for user 'roundcube'@'localhost' (using password: YES)
 Trying to reset database user password for 'roundcube@MY-DOMAIN'... ERROR 1133 (28000) at line 1: Can't find any matching row in the user tableERROR 1133 (28000) at line 1: Can't find any matching row in the user table

WARNING!
Some problems are found during reset database user password for 'roundcube@MY-DOMAIN' - database user does not exist.(see log file: /var/log/pl$
Continue...


WARNING!
Some problems are found during fix credentials for Roundcube db(see log file: /var/log/plesk/install/plesk_17.8.11_repair.log)

Code:
ERROR 1045 (28000): Access denied for user 'roundcube'@'localhost' (using password: YES)
ERROR 1133 (28000) at line 1: Can't find any matching row in the user table
ERROR 1133 (28000) at line 1: Can't find any matching row in the user table

How can I delete these "roundcube@localhost" and "roundcube@MY-DOMAIN"?

---
Plesk 17.8.11, CentOS 7.6, MariaDB 10.2.23
 
There is no RoundCube in my Plesk( Tools & Settings > Updates & Upgrades). I independently installed from source.
But this directory(/usr/share/psa-roundcube) exists on my server.

mysql> show databases like "%roundcube%";
This result is "Empty".


Once I set up with the below command, plesk repair installation is complete.

mysql>grant select on mydb.* to roundcube@'localhost' identified by 'roundcube';
mysql>grant select on mydb.* to roundcube@'mydomain' identified by 'roundcube';

But if I delete the user and run Plesk repair installation again, it fails with the same error. In other words, I do not think that the fundamental solution has been reached.
 
Last edited:
Back
Top