我.在安装mysql时遇到一点问题,c.onfigure,make和makeinstall都没有问题,接下来是
这个命令(注,在mysql的根目录下执行的,我的安装路径是/usr/lo.ca.l/mysql)?in/mys.
ql_install_db --usr=mysq.l.,结果显示如下结果:电影
Installing all prepared t.ables..
051029 19.:17:09 [ERROR] /usr/local/mysql/libexec/.m.ysqld: unknown variable 'us 电子
r=mysql'
Installation of syst..em tables failed! 外汇
Examine the l.ogs in /usr/local/mysql/var for more informatio.n.健康
You .can also t.ry to start the mysqld daemon with:.
/usr/local/mysql/l.ibexec/mysqld. --skip-grant & 杀毒
You can use the .command l.ine tool.
/usr/local/.mysql/bin/mysql to connect to .the mysql虚拟主机
da.tabase and look at the gran.t tables:.
shell> /usr/local/mysql/bin./mysql -u r.oot mysql
m.ysql> show tables.
Try 'mysqld --help' if you have problems with paths. Using --..log 婚庆
gives you a log in /usr/local/mysql/var .that may be help.ful. 杀毒
The latest information about MyS.QL is available on .the web at.
http://www.mysql.com.Please consult the MySQL manual secti.on: 'Problems .ru.nning mysql_install_db',.
and the manual sect.ion that describes problems on yo.ur OS.学习
Another information source is .the MyS.QL email archive. 鲜花
Pleas.e check all of the above before mail.ing us! 建材
And i.f you do mail us, you MUST use the /us.r/local/mysql/bin/.mysqlbug script域名
!
请问该如何解决??