Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Steps to Resolve the Error “Table ‘mysql.servers’ doesn’t exist”

After upgrading or with a newly installed version of Plesk, you may find yourself unable to set passwords for new database users. If you are experiencing this or are not able to do any kind of activity with the database users, check the MySQL error log. If the log shows:
[ERROR] Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist

then referring to these steps should resolve the issue:

  1. First, log in to MySQL with admin privileges
    #mysql -uadmin -p`cat /etc/psa/.psa.shadow` -h localhost
  2. Go into your MySQL database:
    mysql> use mysql;
  3. Next, you’ll need to create a server table:
    mysql> CREATE TABLE `servers` (
    `Server_name` char(64) NOT NULL,
    `Host` char(64) NOT NULL,
    `Db` char(64) NOT NULL,
    `Username` char(64) NOT NULL,
    `Password` char(64) NOT NULL,
    `Port` int(4) DEFAULT NULL,
    `Socket` char(64) DEFAULT NULL,
    `Wrapper` char(64) NOT NULL,
    `Owner` char(64) NOT NULL,
    PRIMARY KEY (`Server_name`)
    COMMENT=’MySQL Foreign Servers table’;
  4. With that, a ‘Server’ table will be created.

You should be able to operate the required database now.


Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account -> Support and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: We are also available to you through our phone and live chat system 24/7/365.


Additional Links:

Looking for more information on MySQL? Search our Knowledge Base!  

In need of more great content? Interested in cPanel, Private Cloud, or Colocation? Check out our recent posts for more news, guides, and industry insights!

Share on Twitter
Share on Facebook