LINUX MYSQL5.7.13安装 Error Plugin 'FEDERATED' is disabled. mysqld: Table 'mysql.plugin' doesn't exist

2017-12-11T07:35:14.410200Z mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
2017-12-11T07:35:14.585903Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-12-11T07:35:14.585976Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-12-11T07:35:14.585979Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2017-12-11T07:35:14.586000Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2017-12-11T07:35:14.586033Z 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.7.13) starting as process 3478 ...
2017-12-11T07:35:14.589594Z 0 [Note] InnoDB: PUNCH HOLE support not available
2017-12-11T07:35:14.589618Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-12-11T07:35:14.589622Z 0 [Note] InnoDB: Uses event mutexes
2017-12-11T07:35:14.589625Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2017-12-11T07:35:14.589629Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-12-11T07:35:14.589632Z 0 [Note] InnoDB: Using Linux native AIO
2017-12-11T07:35:14.589857Z 0 [Note] InnoDB: Number of pools: 1
2017-12-11T07:35:14.589954Z 0 [Note] InnoDB: Using CPU crc32 instructions
2017-12-11T07:35:14.591321Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-12-11T07:35:14.598783Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-12-11T07:35:14.600769Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-12-11T07:35:14.612575Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-12-11T07:35:14.620435Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-12-11T07:35:14.620479Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-12-11T07:35:14.826530Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-12-11T07:35:14.827881Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-12-11T07:35:14.827893Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-12-11T07:35:14.828704Z 0 [Note] InnoDB: Waiting for purge to start
2017-12-11T07:35:14.878873Z 0 [Note] InnoDB: 5.7.13 started; log sequence number 1210408
2017-12-11T07:35:14.879227Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2017-12-11T07:35:14.879369Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

2017-12-11T07:35:14.879841Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-12-11T07:35:14.879898Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2017-12-11T07:35:14.879907Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
20n 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist^Z17-12-11T07:35:14.879948Z 0 [Note] IPv6 is available.
2017-12-11T07:35:14.879957Z 0 [Note]   - '::' resolves to '::';
2017-12-11T07:35:14.879979Z 0 [Note] Server socket created on IP: '::'.
2017-12-11T07:35:14.880242Z 0 [Note] InnoDB: Loading buffer pool(s) from /usr/local/mysql/data/ib_buffer_pool
2017-12-11T07:35:14.880380Z 0 [Note] InnoDB: Buffer pool(s) load completed at 171211 15:35:14
2017-12-11T07:35:14.882045Z 0 [Warning] Failed to open optimizer cost constant tables


2017-12-11T07:35:14.882140Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2017-12-11T07:35:14.882187Z 0 [ERROR] Aborting


2017-12-11T07:35:14.882198Z 0 [Note] Binlog end
2017-12-11T07:35:14.882246Z 0 [Note] Shutting down plugin 'ngram'
2017-12-11T07:35:14.882253Z 0 [Note] Shutting down plugin 'ARCHIVE'
2017-12-11T07:35:14.882256Z 0 [Note] Shutting down plugin 'partition'
2017-12-11T07:35:14.882263Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2017-12-11T07:35:14.882266Z 0 [Note] Shutting down plugin 'CSV'
2017-12-11T07:35:14.882269Z 0 [Note] Shutting down plugin 'MEMORY'
2017-12-11T07:35:14.882273Z 0 [Note] Shutting down plugin 'MyISAM'
2017-12-11T07:35:14.882282Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2017-12-11T07:35:14.882285Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-12-11T07:35:14.882336Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2017-12-11T07:35:14.882339Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'

2017-12-11T07:35:14.882341Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'



解决办法:

1,将创建好的data文件夹中的内容删除

2,在你mysql的安装路径找到 mysqld : 执行—》 mysqld --initialize  --user=mysql


猜你喜欢

转载自blog.csdn.net/hanmindaxiongdi/article/details/78773423