Mysql executes the flushprivileges command with the error ERROR1146 (42S02): Tab

Source: Internet
Author: User
When mysql executes the flushprivileges refresh user permission command, the following error is reported: ERROR1146 (42S02): Tablemysql. serversdoesntexist is a false test, which literally means mysql. if servers does not exist, you can directly create one. The SQL statement is as follows: copy and paste it to the command line: CREATETABLE 'serv

When mysql executes the flush privileges refresh user permission command, the ERROR 1146 (42S02): Table 'mysql. servers 'doesn' t exist, which literally means mysql. if servers does not exist, you can directly CREATE one. The SQL statement is as follows: copy and paste it to the command line: CREATE TABLE 'serv

When mysql executes the flush privileges refresh user permission command, the ERROR 1146 (42S02): Table 'mysql. servers 'doesn' t exist, which literally means mysql. if servers does not exist, you can directly create one. The SQL statement is as follows. copy and paste it to the command line:

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';

Run the flush privileges command.

Original article address: mysql executes the flush privileges command to hold ERROR 1146 (42S02): Tab. Thank you for sharing it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.