MySQL:表'mysql.plugin'不存在

时间:2017-10-01 15:30:21

标签: mysql

this is my log

2017-10-01 23:23:56 5404 [Note] Plugin 'FEDERATED' is disabled.
***MySQL: Table 'mysql.plugin' doesn't exist***
**2017-10-01 23:23:56 5404 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.**
2017-10-01 23:23:56 5404 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-10-01 23:23:56 5404 [Note] InnoDB: The InnoDB memory heap is disabled
2017-10-01 23:23:56 5404 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2017-10-01 23:23:56 5404 [Note] InnoDB: Memory barrier is not used
2017-10-01 23:23:56 5404 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-10-01 23:23:56 5404 [Note] InnoDB: Not using CPU crc32 instructions
2017-10-01 23:23:56 5404 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-10-01 23:23:56 5404 [Note] InnoDB: Completed initialization of buffer pool
2017-10-01 23:23:56 5404 [Note] InnoDB: Highest supported file format is Barracuda.
2017-10-01 23:23:57 5404 [Note] InnoDB: 128 rollback segment(s) are active.
2017-10-01 23:23:57 5404 [Note] InnoDB: Waiting for purge to start
2017-10-01 23:23:57 5404 [Note] InnoDB: 5.6.21 started; log sequence number 1600627
2017-10-01 23:23:57 5404 [Note] Server hostname (bind-address): '*'; port: 3306
2017-10-01 23:23:57 5404 [Note] IPv6 is available.
2017-10-01 23:23:57 5404 [Note]   - '::' resolves to '::';
2017-10-01 23:23:57 5404 [Note] Server socket created on IP: '::'.
**2017-10-01 23:23:57 5404 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist**

我安装在win10环境中, 我试图用 mysql_upgrade -u root -p 更新它,但此时它提示我输入密码错误,但我的密码没有错,我把它保存在我的记事本中。我有阅读了很多信息,但仍未解决。我该怎么办

0 个答案:

没有答案