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 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog