V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
cdlixucd
V2EX  ›  Linux

mysql 启动报错,求大神看看

  •  
  •   cdlixucd · 2018-05-11 17:50:44 +08:00 · 1925 次点击
    这是一个创建于 2384 天前的主题,其中的信息可能已经有所发展或是发生改变。

    2018-05-11T08:25:25.977952Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2018-05-11T08:25:25.978103Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled 2018-05-11T08:25:25.978162Z 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.7.22) starting as process 57804 ... 2018-05-11T08:25:25.989520Z 0 [Note] InnoDB: PUNCH HOLE support available 2018-05-11T08:25:25.989564Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2018-05-11T08:25:25.989579Z 0 [Note] InnoDB: Uses event mutexes 2018-05-11T08:25:25.989592Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier 2018-05-11T08:25:25.989605Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3 2018-05-11T08:25:25.989617Z 0 [Note] InnoDB: Using Linux native AIO 2018-05-11T08:25:25.990197Z 0 [Note] InnoDB: Number of pools: 1 2018-05-11T08:25:25.990397Z 0 [Note] InnoDB: Using CPU crc32 instructions 2018-05-11T08:25:25.993037Z 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 8, chunk size = 128M 2018-05-11T08:25:26.112504Z 0 [Note] InnoDB: Completed initialization of buffer pool 2018-05-11T08:25:26.132358Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). 2018-05-11T08:25:26.144950Z 0 [Note] InnoDB: Highest supported file format is Barracuda. 2018-05-11T08:25:26.189175Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2018-05-11T08:25:26.189337Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2018-05-11T08:25:26.227488Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. 2018-05-11T08:25:26.228918Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active. 2018-05-11T08:25:26.228940Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active. 2018-05-11T08:25:26.229248Z 0 [Note] InnoDB: Waiting for purge to start 2018-05-11T08:25:26.279448Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 1210018 2018-05-11T08:25:26.279931Z 0 [Note] Plugin 'FEDERATED' is disabled. mysqld: Table 'mysql.plugin' doesn't exist 2018-05-11T08:25:26.280129Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 2018-05-11T08:25:26.280820Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2018-05-11T08:25:26.280938Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key 2018-05-11T08:25:26.280961Z 0 [Note] Server hostname (bind-address): '*'; port: 3306 2018-05-11T08:25:26.281046Z 0 [Note] IPv6 is available. 2018-05-11T08:25:26.281066Z 0 [Note] - '::' resolves to '::'; 2018-05-11T08:25:26.281105Z 0 [Note] Server socket created on IP: '::'. 2018-05-11T08:25:26.281461Z 0 [Note] InnoDB: Loading buffer pool(s) from /data1/ib_buffer_pool 2018-05-11T08:25:26.281739Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180511 16:25:26 2018-05-11T08:25:26.304267Z 0 [Warning] Failed to open optimizer cost constant tables

    2018-05-11T08:25:26.304442Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 2018-05-11T08:25:26.304583Z 0 [ERROR] Aborting

    2018-05-11T08:25:26.304639Z 0 [Note] Binlog end 2018-05-11T08:25:26.304705Z 0 [Note] Shutting down plugin 'ngram' 2018-05-11T08:25:26.304722Z 0 [Note] Shutting down plugin 'ARCHIVE' 2018-05-11T08:25:26.304732Z 0 [Note] Shutting down plugin 'partition' 2018-05-11T08:25:26.304742Z 0 [Note] Shutting down plugin 'BLACKHOLE' 2018-05-11T08:25:26.304752Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA' 2018-05-11T08:25:26.304843Z 0 [Note] Shutting down plugin 'CSV' 2018-05-11T08:25:26.304854Z 0 [Note] Shutting down plugin 'MEMORY' 2018-05-11T08:25:26.304867Z 0 [Note] Shutting down plugin 'MRG_MYISAM' 2018-05-11T08:25:26.304880Z 0 [Note] Shutting down plugin 'MyISAM' 2018-05-11T08:25:26.304901Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL' 2018-05-11T08:25:26.304911Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' 2018-05-11T08:25:26.304921Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' 2018-05-11T08:25:26.304934Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' 2018-05-11T08:25:26.304944Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' 2018-05-11T08:25:26.304953Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' 2018-05-11T08:25:26.304962Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' 2018-05-11T08:25:26.304971Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' 2018-05-11T08:25:26.304980Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' 2018-05-11T08:25:26.304990Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES' 2018-05-11T08:25:26.304999Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' 2018-05-11T08:25:26.305008Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' 2018-05-11T08:25:26.305017Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG' 2018-05-11T08:25:26.305026Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' 2018-05-11T08:25:26.305035Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED' 2018-05-11T08:25:26.305045Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD' 2018-05-11T08:25:26.305054Z 0 [Note] Shutting down plugin 'INNODB_METRICS' 2018-05-11T08:25:26.305063Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO' 2018-05-11T08:25:26.305072Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' 2018-05-11T08:25:26.305089Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' 2018-05-11T08:25:26.305100Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' 2018-05-11T08:25:26.305109Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET' 2018-05-11T08:25:26.305119Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX' 2018-05-11T08:25:26.305128Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET' 2018-05-11T08:25:26.305138Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM' 2018-05-11T08:25:26.305147Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET' 2018-05-11T08:25:26.305157Z 0 [Note] Shutting down plugin 'INNODB_CMP' 2018-05-11T08:25:26.305166Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS' 2018-05-11T08:25:26.305175Z 0 [Note] Shutting down plugin 'INNODB_LOCKS' 2018-05-11T08:25:26.305185Z 0 [Note] Shutting down plugin 'INNODB_TRX' 2018-05-11T08:25:26.305194Z 0 [Note] Shutting down plugin 'InnoDB' 2018-05-11T08:25:26.305275Z 0 [Note] InnoDB: FTS optimize thread exiting. 2018-05-11T08:25:26.305421Z 0 [Note] InnoDB: Starting shutdown... 2018-05-11T08:25:26.406728Z 0 [Note] InnoDB: Dumping buffer pool(s) to /data1/ib_buffer_pool 2018-05-11T08:25:26.406924Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180511 16:25:26 2018-05-11T08:25:27.954593Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1210037 2018-05-11T08:25:27.957367Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" 2018-05-11T08:25:27.957391Z 0 [Note] Shutting down plugin 'sha256_password' 2018-05-11T08:25:27.957402Z 0 [Note] Shutting down plugin 'mysql_native_password' 2018-05-11T08:25:27.957582Z 0 [Note] Shutting down plugin 'binlog' 2018-05-11T08:25:27.957831Z 0 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1815 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:38 · PVG 00:38 · LAX 08:38 · JFK 11:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.