mysql错误集合

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/weixin_41876523/article/details/81133132

myqsl初始化时候,出现的错误

[root@hadoop mysql]# ./bin/mysqld --user=mysql --basedir=/home/mysql/ --datadir=/home/mysql/data/

解决办法 :./bin/mysqld --initialize --user=mysql --basedir=/home/mysql/ --datadir=/home/mysql/data/

忘记加 --initialize了

2018-07-20T15:24:37.707186Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-07-20T15:24:37.707335Z 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.
2018-07-20T15:24:37.707340Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2018-07-20T15:24:37.707370Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2018-07-20T15:24:37.707415Z 0 [Note] ./bin/mysqld (mysqld 5.7.16) starting as process 3417 ...
2018-07-20T15:24:37.724492Z 0 [Note] InnoDB: PUNCH HOLE support not available
2018-07-20T15:24:37.724529Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-20T15:24:37.724536Z 0 [Note] InnoDB: Uses event mutexes
2018-07-20T15:24:37.724542Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-07-20T15:24:37.724549Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-07-20T15:24:37.724555Z 0 [Note] InnoDB: Using Linux native AIO
2018-07-20T15:24:37.725140Z 0 [Note] InnoDB: Number of pools: 1
2018-07-20T15:24:37.725326Z 0 [Note] InnoDB: Using CPU crc32 instructions
2018-07-20T15:24:37.729459Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2018-07-20T15:24:37.743442Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-07-20T15:24:37.748439Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-07-20T15:24:37.758906Z 0 [Note] InnoDB: The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created!
2018-07-20T15:24:37.771560Z 0 [Note] InnoDB: Setting file './ibdata1' size to 12 MB. Physically writing the file full; Please wait ...
2018-07-20T15:24:37.997650Z 0 [Note] InnoDB: File './ibdata1' size is now 12 MB.
2018-07-20T15:24:37.998483Z 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2018-07-20T15:24:39.246415Z 0 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2018-07-20T15:24:40.562351Z 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2018-07-20T15:24:40.562466Z 0 [Warning] InnoDB: New log files created, LSN=45790
2018-07-20T15:24:40.562492Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-07-20T15:24:40.562658Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...

2018-07-20T15:24:41.170931Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2018-07-20T15:24:41.170934Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2018-07-20T15:24:41.170938Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2018-07-20T15:24:41.170941Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2018-07-20T15:24:41.170945Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2018-07-20T15:24:41.170948Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2018-07-20T15:24:41.170952Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2018-07-20T15:24:41.170955Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2018-07-20T15:24:41.170959Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2018-07-20T15:24:41.170963Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2018-07-20T15:24:41.170966Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2018-07-20T15:24:41.170970Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2018-07-20T15:24:41.170974Z 0 [Note] Shutting down plugin 'InnoDB'
2018-07-20T15:24:41.172009Z 0 [Note] InnoDB: FTS optimize thread exiting.
2018-07-20T15:24:41.172437Z 0 [Note] InnoDB: Starting shutdown...
2018-07-20T15:24:41.273811Z 0 [Note] InnoDB: Dumping buffer pool(s) to /home/mysql/data/ib_buffer_pool
2018-07-20T15:24:41.274822Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180720 23:24:41
2018-07-20T15:24:42.893629Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1209961
2018-07-20T15:24:42.896020Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-07-20T15:24:42.896039Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2018-07-20T15:24:42.896106Z 0 [Note] Shutting down plugin 'MyISAM'
2018-07-20T15:24:42.896123Z 0 [Note] Shutting down plugin 'sha256_password'
2018-07-20T15:24:42.896127Z 0 [Note] Shutting down plugin 'mysql_native_password'
2018-07-20T15:24:42.896251Z 0 [Note] Shutting down plugin 'binlog'
2018-07-20T15:24:42.896517Z 0 [Note] ./bin/mysqld: Shutdown complete

猜你喜欢

转载自blog.csdn.net/weixin_41876523/article/details/81133132