安装方法,严格按照手册来的.
2.8.1. 源码安装概述
你必须执行的安装M.ySQL源码分发版的基本命令是:域名
s.hell> groupadd mysql 外汇
shel.l> useradd -g mys.ql mysql( 游戏 )
shell> gunzip < mysql-VERSION.tar.gz | tar -xv.f. - 杀毒
shell> cd my.sql-VERSION.
shell> ./configure --p.refix=/usr/local/mysq.l--------------彩票
shell> make
sh.ell> make install.
shell> c.p support-.files/my-medium.cnf /etc/my.cnf电脑
shell>. cd /.usr/local/mysql.
s.hell> bin/mysq.l_install_db --user=mysql学习
shell> chown -R. root . 外汇
s.hell> chown -R mysql var 建材
shell> chg.rp -R mysql .<性病>
shell> bin/mys.qld_safe --user.=mysql & ----- 这步错误!外贸
复制代码
CONFIG MAKE MAKEINSTALL 都正常.,没有错误.就是最.后不能启动.--- 印刷
错误信息
0904.26 07:49:29 mysqld_safe Starting .mysqld daemon with databases from /usr./local/mysql/var.
/.usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' do.esn't exist健康
090426 7:49:29 [ERROR] Can't open the mysql.p.lugin ta.ble. Please run mysql_upgrade to create it..虚拟主机
0.90426 7:49:29 [ER.ROR.] /usr/local/mysql/libexec/mysqld: unknown option '--skip-federated'--- 印刷
090426 7:49:.29 [E.RROR] Aborting 健康
090426 7:49:29 [Note]. /.usr/local/mysql/libexec/mysqld: Shutdown complete.
090426 .07:49:29 mysq.ld_safe .mysqld from pid file /usr/local/mysql/var/itukeServer.pid ended.
复制代码
附件: