Ubuntu下mysql无法重启
来源:互联网 发布:sd卡数据修复 编辑:程序博客网 时间:2024/05/19 22:56
错误日志:
$ tail -n 100 /var/log/mysql/error.log | head -n 20 #或者 tail -n 20 /var/log/mysql/error.log
最近的错误信息:
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
151009 21:54:03 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
151009 21:54:03 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
错误已经很明确了:存在其它的mysql数据库服务进程
$ ps aux | grep mysql
找到mysqld进程ID,kill
mysql 6821 0.0 1.1 484456 47276 ? Ssl 22:15 0:00 /usr/sbin/mysqld
$ sudo kill 6821 #这里的数字是mysqld的进程ID
$ sudo /etc/init.d/mysql start
- Ubuntu下mysql无法重启
- ubuntu 下mysql 启动 停止 重启
- ubuntu下mysql启动停止重启
- ubuntu下mysql数据库重启
- ubuntu下启动/停止/重启MySql
- ubuntu下mysql数据库重启
- ubuntu下启动/停止/重启MySQL
- Ubuntu下Apache重启无法找到服务器名称
- Ubuntu无法重启apache2
- ubuntu 16.04 无法重启
- Ubuntu下启动/重启/停止apache,mysql服务器
- Ubuntu下启动停止重启mysql及其他
- 如何 ubuntu下启动/停止/重启MySQL
- ubuntu下启动、停止和重启mysql
- 如何 ubuntu下启动/停止/重启MySQL
- 如何ubuntu下启动/停止/重启MySQL
- 如何 ubuntu下启动/停止/重启MySQL
- Ubuntu下mysql服务的重启命令
- C++编程对缓冲区的理解
- 黑马程序员——OC基础---构造方法
- 关于Gson-2.4(自己犯得错误)
- Unity3D占用内存太大的解决方法
- iOS程序猿如何快速掌握 PHP,化身"全栈攻城狮"?
- Ubuntu下mysql无法重启
- TEST 1#
- 二分查找
- C/C++常用宏定义
- Form表单中的action提交路径问题
- C++中struct和class的区别
- Gulp使用指南
- ftp与sftp连接实例
- How to Support 3D Touch - Static Action on Xcode6