安装方法,严格按照手册来的.
2.8.1. 源码安装概述
你.必须执行的安装MySQL源码分发版的基本命令是:.
shell> groupadd m.ysql 鲜花
shell> useradd -g my.sql my.sql(广告)
shell> gunzip < mysql-VER.SION.tar.gz | tar .-xvf -虚拟主机
shell.> cd mysql-VERSION.
shell> ./.configure -.-prefix=/usr/local/mysql.
shell> make
shell> make insta.ll.
shell> c.p support-files/my-mediu.m.cnf /etc/my.cnf 鲜花
shell>. cd /usr/loca.l/mysql虚拟主机
shell> bin/m.ysql_install_db --user=mysql.服务器
shell> chown .-R root ..
shell> chow.n -R mysql var 婚庆
shell> .chgrp -R mysql ..
shell>.. bin/mysqld_safe --user=mysql & ----- 这步错误!.
复制代码
CONFIG MAKE MAKEINSTALL 都正常,.没有错误..就是最后不能启动.( 游戏 )
错误信息
090426 07:.49:2.9 mysqld_safe Starting mysqld daemon with databases. from /usr/local/mysql/var<性病>
/usr/local/mysql/libexec/mysq.ld: Table 'm.ysql.plugin' doesn't exist 鲜花
090426 7:49:29 [ERROR] Can't o.pen the mys.ql.plugin table. Please run. mysql_upgrade to create it.电影
090426 7:49:29 [E.RROR] /usr/lo.cal/mysql/libexec/mysqld: unknown option '-.-skip-federated'.
0904.26 7:49:29 [ERROR] Ab.orting.
090426 7:4.9:29 [Note] /usr/local/mysql/.libexec/mysqld: Shutdown complete 健康
090426 07:49:29 mysqld_safe mysqld from pid file /usr/local/my.sq.l/var/.itukeServer.pid ended 婚庆
复制代码
附件: