- 论坛徽章:
- 0
|
安装方法,严格按照手册来的.
- 2.8.1. 源码安装概述
- 你必须执行的安装MySQL源码分发版的基本命令是:
- shell> groupadd mysql
- shell> useradd -g mysql mysql
- shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
- shell> cd mysql-VERSION
- shell> ./configure --prefix=/usr/local/mysql
- shell> make
- shell> make install
- shell> cp support-files/my-medium.cnf /etc/my.cnf
- shell> cd /usr/local/mysql
- shell> bin/mysql_install_db --user=mysql
- shell> chown -R root .
- shell> chown -R mysql var
- shell> chgrp -R mysql .
- shell> bin/mysqld_safe --user=mysql & ----- 这步错误!
复制代码
CONFIG MAKE MAKEINSTALL 都正常,没有错误.就是最后不能启动.
错误信息
- 090426 07:49:29 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
- /usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
- 090426 7:49:29 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
- 090426 7:49:29 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option '--skip-federated'
- 090426 7:49:29 [ERROR] Aborting
- 090426 7:49:29 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete
- 090426 07:49:29 mysqld_safe mysqld from pid file /usr/local/mysql/var/itukeServer.pid ended
复制代码
附件: |
|