- 论坛徽章:
- 0
|
本帖最后由 pzw1985 于 2013-08-06 10:07 编辑
- [root@centos ~]# lsb_release -a
- LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
- Distributor ID: CentOS
- Description: CentOS release 5.9 (Final)
- Release: 5.9
- Codename: Final
复制代码 我把本来自带的mysql删除后安装了mysql-5.5.30- [root@centos ~]# mysql --version
- mysql Ver 14.14 Distrib 5.5.30, for Linux (i686) using readline 5.1
复制代码 在启动mysql的时候出现这样的错误:- [root@centos ~]# service mysql start
- Starting MySQL...The server quit without updating PID file (/var/lib/mysql/centos.com.pid).
复制代码 机器名:- [root@centos mysql]# hostname
- centos.com
复制代码 路径:- [root@centos mysql]# pwd
- /var/lib/mysql
复制代码 错误日志:- [root@centos mysql]# cat centos.com.err
- 130805 16:32:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
- 130805 16:32:12 [Note] Plugin 'FEDERATED' is disabled.
- /usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
- 130805 16:32:12 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
- 130805 16:32:12 InnoDB: The InnoDB memory heap is disabled
- 130805 16:32:12 InnoDB: Mutexes and rw_locks use InnoDB's own implementation
- 130805 16:32:12 InnoDB: Compressed tables use zlib 1.2.3
- 130805 16:32:12 InnoDB: Using Linux native AIO
- 130805 16:32:12 InnoDB: Initializing buffer pool, size = 128.0M
- 130805 16:32:12 InnoDB: Completed initialization of buffer pool
- 130805 16:32:12 InnoDB: highest supported file format is Barracuda.
- 130805 16:32:12 InnoDB: Waiting for the background threads to start
- 130805 16:32:13 InnoDB: 5.5.30 started; log sequence number 2785101
- 130805 16:32:13 [Note] Recovering after a crash using mysql-bin
- 130805 16:32:13 [Note] Starting crash recovery...
- 130805 16:32:13 [Note] Crash recovery finished.
- 130805 16:32:13 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
- 130805 16:32:13 [Note] - '0.0.0.0' resolves to '0.0.0.0';
- 130805 16:32:13 [Note] Server socket created on IP: '0.0.0.0'.
- 130805 16:32:13 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/proxies_priv.frm' (errno: 13)
- 130805 16:32:13 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/proxies_priv.frm' (errno: 13)
- 130805 16:32:13 mysqld_safe mysqld from pid file /var/lib/mysql/centos.com.pid ended
复制代码 请问问题出现在哪里啊?Google找了很多方案都没有解决。。 |
|