jingguo_vip 2017-08-10 04:08 采纳率: 0%
浏览 2603
已采纳

centos虚拟机重启后,MySQL服务启动不了了,求解?

#MySQL版本5.1.73
贴出日志如下:

170808 23:02:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170808 23:02:19 InnoDB: Initializing buffer pool, size = 8.0M
170808 23:02:19 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
170808 23:02:19 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
170808 23:02:19 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
170808 23:02:19 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
170808 23:02:19 InnoDB: Started; log sequence number 0 0
170808 23:02:19 [Note] Event Scheduler: Loaded 0 events
170808 23:02:19 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
170809 5:21:42 [Note] /usr/libexec/mysqld: Normal shutdown

170809 5:21:42 [Note] Event Scheduler: Purging the queue. 0 events
170809 5:21:42 InnoDB: Starting shutdown...
170809 5:21:45 InnoDB: Shutdown completed; log sequence number 0 89508
170809 5:21:45 [Note] /usr/libexec/mysqld: Shutdown complete

170809 05:21:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
170810 18:53:14 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170810 18:53:14 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
/usr/libexec/mysqld: Character set 'utf-8' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
170810 18:53:14 [ERROR] Aborting

170810 18:53:14 [Note] /usr/libexec/mysqld: Shutdown complete

170810 18:53:14 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
170810 18:54:30 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170810 18:54:30 [Warning] '--default-character-set' is deprecated and will be removed in a future release. Please use '--character-set-server' instead.
/usr/libexec/mysqld: Character set 'utf-8' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
170810 18:54:30 [ERROR] Aborting

170810 18:54:30 [Note] /usr/libexec/mysqld: Shutdown complete

170810 18:54:30 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


  • 写回答

1条回答

  • dmltzy 2017-08-10 04:22
    关注

    'utf-8' --> 'utf8'

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!