• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Issue Accidentally removed permissions from admin@localhost

kyon147

New Pleskian
Server operating system version
18.04
Plesk version and microupdate number
not sure
Hi all!

In an effort to tighten up security on the server, I was auditing mysql users and accidentally removed all permissions from the "admin@localhost" mysql users not realising it was used by Plesk.

Now I can't edit permissions as the other accounts on my server don't have global privileges. How can I reset the admin user to get back into plesk?

Thanks
 
Try to run

# plesk repair db
# plesk repair installation
 
Tried to run both and they both fail.

Trying to backup MySQL database... mysqldump: Got error: 1044: "Access denied for user 'admin'@'localhost' to database 'mysql'" when using LOCK TABLES

ERR [panel] Cannot save cli call statistic DB query failed: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT, UPDATE command denied to user 'admin'@'localhost'
 
I would suggest you contact Plesk Support Team for recovering access to Plesk database directly on your server.
 
Back
Top