• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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