• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

mysql.servers' doesn't exist

G

GurdeepS

Guest
Hi Everyone,

I am using plesk 8.6 on windows 2003, Currently I have integrated Mysql 5.1 in plesk. while I am creating database user through plesk getting the below error, but user is successfully get created in mysql and I am able to access the database with the same user. I have also run "mysql_fix_privilege_tables.sql
" but the problem is same. Kindly look into this and revert back.

Add new database user failed: Can't execute FLUSH PRIVILEGES: MySql error 1146:Table 'mysql.servers' doesn't exist
---------------------- Debug Info -------------------------------
0: plib\DatabaseManagerMySQL.php:83
DatabaseManagerMySQL->addUserToDatabaseImpl(string 'tendy_test3', string '*********', string 'trendy_test2')
1: plib\DatabaseManager.php:163
DatabaseManager->createUser(object of type dbUser)
2: htdocs\domains\databases\db_usr_edit.php3:116

Regards
Gurdeep Singh
 
got the below solutions for the same

Step 1: SSH to your server
Step 2: Open mysql by typing:

mysql -u YOURUSERNAMEHERE -p

Make sure to put in your own username. When you hit enter, you’ll be asked for your mysql password.

Step 3: Use the mysql database:

USE mysql;

Step 4: Place this code in to create the table:

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`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
COMMENT='MySQL Foreign Servers table';

I hope that helps someone out there!
 
Back
Top