ds11111111111111111 2014-12-10 20:55
浏览 113
已采纳

MySQL一直在Centos上崩溃[关闭]

141210 14:04:28 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

141210 14:04:28 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

141210 14:04:29 [Note] libgovernor.so not found

141210 14:04:29 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is  deprecated and will be removed in a future release. Please use the full name instead.

141210 14:04:29 [Warning] The syntax '--log-slow-queries' is deprecated and will be removed in a  future release. Please use '--slow-query-log'/'--slow-query-log-file' instead.

141210 14:04:29 [Note] Plugin 'FEDERATED' is disabled.

141210 14:04:29 InnoDB: The InnoDB memory heap is disabled

141210 14:04:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins

141210 14:04:29 InnoDB: Compressed tables use zlib 1.2.3

141210 14:04:29 InnoDB: Using Linux native AIO

141210 14:04:29 InnoDB: Initializing buffer pool, size = 4.0G

141210 14:04:29 InnoDB: Completed initialization of buffer pool

141210 14:04:29 InnoDB: highest supported file format is Barracuda.

141210 14:04:37  InnoDB: Waiting for the background threads to start

141210 14:04:38 InnoDB: 5.5.36 started; log sequence number 1528598520104

141210 14:04:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306

141210 14:04:38 [Note]   - '0.0.0.0' resolves to '0.0.0.0';

141210 14:04:38 [Note] Server socket created on IP: '0.0.0.0'.

141210 14:04:38 [Warning] 'proxies_priv' entry '@ ' ignored in --skip-name-resolve mode.

141210 14:04:38 [Note] Event Scheduler: Loaded 0 events

141210 14:04:38 [Note] /usr/libexec/mysqld: ready for connections.

Version: '5.5.36-cll-lve'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server  (GPL) by Atomicorp

141210 14:06:33 [Note] /usr/libexec/mysqld: Normal shutdown

Any idea what that might be ? This is the issue so far, And somehow it keeps crashing.. is there anything obvious, cause i dont see any reason for it to crash. Does anyone have any idea how to solve that ?

  • 写回答

1条回答 默认 最新

  • douqiu1604 2014-12-10 21:13
    关注

    Try to change the owner.

    chown -R mysql.mysql /var/lib/mysql
    

    and make sure that "/var" and "/var/lib" retain their root.root ownership and 755 chmod. Let me know if it solve your problem.


    EDIT: Please, just add the following code line option to "my.cnf" file under the [mysqld] section:

    ignore-db-dir = lost+found
    

    then restart mysql service.

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

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序