[ERROR] Can't open the mysql.plugin table
centos7下的mysql 5.7.17,執行命令啟動資料庫的時候報錯:
systemctl start mysqld.service
-
2017-11-03T19:08:28.363912+08:00 0 [Note] /usr/sbin/mysqld (mysqld 5.7.17-log) starting as process 21010 ...
-
2017-11-03T19:08:28.367804+08:00 0 [Note] InnoDB: PUNCH HOLE support available
-
2017-11-03T19:08:28.367836+08:00 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
-
2017-11-03T19:08:28.367844+08:00 0 [Note] InnoDB: Uses event mutexes
-
2017-11-03T19:08:28.367849+08:00 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
-
2017-11-03T19:08:28.367853+08:00 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
-
2017-11-03T19:08:28.367859+08:00 0 [Note] InnoDB: Using Linux native AIO
-
2017-11-03T19:08:28.367878+08:00 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
-
2017-11-03T19:08:28.368450+08:00 0 [Note] InnoDB: Number of pools: 1
-
2017-11-03T19:08:28.368574+08:00 0 [Note] InnoDB: Using CPU crc32 instructions
-
2017-11-03T19:08:28.370795+08:00 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
-
2017-11-03T19:08:28.386993+08:00 0 [Note] InnoDB: Completed initialization of buffer pool
-
2017-11-03T19:08:28.390005+08:00 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
-
2017-11-03T19:08:28.423716+08:00 0 [Note] InnoDB: Highest supported file format is Barracuda.
-
2017-11-03T19:08:28.532555+08:00 0 [Note] InnoDB: Creating shared tablespace for temporary tables
-
2017-11-03T19:08:28.532627+08:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
-
2017-11-03T19:08:28.630549+08:00 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
-
2017-11-03T19:08:28.631466+08:00 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
-
2017-11-03T19:08:28.631483+08:00 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
-
2017-11-03T19:08:28.632485+08:00 0 [Note] InnoDB: Waiting for purge to start
-
2017-11-03T19:08:28.683674+08:00 0 [Note] InnoDB: 5.7.17 started; log sequence number 1210395
-
2017-11-03T19:08:28.684392+08:00 0 [Note] InnoDB: Loading buffer pool(s) from /alidata1/mysql/data/ib_buffer_pool
-
2017-11-03T19:08:28.684694+08:00 0 [Note] Plugin 'FEDERATED' is disabled.
-
mysqld: Table 'mysql.plugin' doesn't exist
-
2017-11-03T19:08:28.684846+08:00 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
-
2017-11-03T19:08:28.688758+08:00 0 [Note] InnoDB: Buffer pool(s) load completed at 171103 19:08:28
-
2017-11-03T19:08:28.692784+08:00 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
-
2017-11-03T19:08:28.696746+08:00 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
-
2017-11-03T19:08:28.696945+08:00 0 [Warning] CA certificate ca.pem is self signed.
-
2017-11-03T19:08:28.698203+08:00 0 [Note] Server hostname (bind-address): '192.168.2.71'; port: 3306
-
2017-11-03T19:08:28.698235+08:00 0 [Note] - '192.168.2.71' resolves to '192.168.2.71';
-
2017-11-03T19:08:28.698270+08:00 0 [Note] Server socket created on IP: '192.168.2.71'.
-
2017-11-03T19:08:28.701031+08:00 0 [Warning] Failed to open optimizer cost constant tables
-
-
2017-11-03T19:08:28.701146+08:00 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
- 2017-11-03T19:08:28.701186+08:00 0 [ERROR] Aborting
解決辦法是:先初始化出來一個資料庫,datadir和my.cnf裡的一致
- mysqld --initialize --datadir=/alidata1/mysql/data
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2146811/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist解決辦法ErrorMySql
- Mysql報錯Fatal error:Can't open and lock privilege tablesMySqlError
- rman: can't open target
- MySQL 啟動報錯 Table 'mysql.plugin' doesn't existMySqlPlugin
- 解決Error (1133): Can’t find any matching row in the user tableError
- 【MySQL】ERROR 1005 (HY000): Can't create table' (errno: 150)MySqlError
- RMAN的"rman: can't open target"錯誤
- ERROR 1005 (HY000): Can't create table 'starive.SC' (errno: 150)"Error
- Linux下安裝Oracle 錯誤解決 - Error: Can't open display:127.0..0.1:0.0LinuxOracleError
- ERROR 1005 (HY000): Can't create table'matrix.system_log' (errno: 150)Error
- mysql [ERROR] Can't create IP socket: Permission deniedMySqlError
- ERROR in Entry module not found Error Can't resolve 'babel' in ' UseErrorBabel
- You can‘t specify target table ‘Person‘ for update in FROM clause
- mysql中You can’t specify target table for update in FROM clMySql
- linux上“rman can't open target”問題解決Linux
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- [筆記].痛哉!!!Error: Can't access JTAG chain, Error: Operation failed筆記ErrorAI
- mysql can't connect error about privilege----not root userMySqlError
- FileZilla:425 Can't open data connection for transfer of解決辦法
- Xcode 無法開啟沙盒(can't open sandbox)XCode
- ?Error: Can't locate /etc/centreon/conf.pm in @INC (@INError
- MySQL 建立外來鍵報錯Can't write; duplicate key in tableMySql
- 關於oracle 10G for suse 9 的rman: can't open targetOracle 10g
- ERROR 1135 (HY000): Can't create a new threadErrorthread
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- MySQL 5.5 原始碼安裝報錯"[ERROR] Can't start server"MySql原始碼ErrorServer
- MYSQL報1022錯誤:Can't write;duplicate key in table '.....'MySql
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- MySQL:Table_open_cache_hits/Table_open_cache_misses/Table_open_cache_overflowsMySql
- RMAN can not open in LinuxLinux
- ERROR 1168 (HY000): Unable to open underlying table which isError
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- 完美解決stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.ErrorPython
- 本機執行x程式出現:Can't open display 原因及其解決方法
- RMAN備份、恢復實驗室 之 備份篇 【rman: can't open target】
- MySQL案例-不同尋常的[ERROR]Can't create a new thread (errno 11)MySqlErrorthread
- ERROR 1135 (HY000): Can't create a new thread (errno 11)Errorthread