查看mysqld.log 日志:
mysql日志 171210 19:38:22 [Note] Plugin ‘FEDERATED‘ is disabled. 171210 19:38:22 InnoDB: The InnoDB memory heap is disabled 171210 19:38:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins 171210 19:38:22 InnoDB: Compressed tables use zlib 1.2.3 171210 19:38:22 InnoDB: Using Linux native AIO 171210 19:38:22 InnoDB: Initializing buffer pool, size = 128.0M 171210 19:38:22 InnoDB: Completed initialization of buffer pool 171210 19:38:22 InnoDB: highest supported file format is Barracuda. 171210 19:38:22 InnoDB: Waiting for the background threads to start 171210 19:38:23 InnoDB: 5.5.55 started; log sequence number 1589339 171210 19:38:23 [ERROR] /usr/libexec/mysqld: unknown variable ‘default-character-set=utf8‘ 171210 19:38:23 [ERROR] Aborting 171210 19:38:23 InnoDB: Starting shutdown... 171210 19:38:24 InnoDB: Shutdown completed; log sequence number 1589339 171210 19:38:24 [Note] /usr/libexec/mysqld: Shutdown complete
发现是编码问题:
修改该文件:
时间: 2024-10-09 22:49:42