LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 977|回复: 0

安装mysql时出错

[复制链接]
发表于 2003-4-10 11:08:44 | 显示全部楼层 |阅读模式
[root@rhlin /]#groupadd mysql
[root@rhlin /]#useradd -g mysql mysql
[root@rhlin /]#cd /usr/local/src
[root@rhlin src]#tar zxvf mysql-3.23.56.tar.gz
[root@rhlin src]#cd /usr/local/src/mysql-3.23.56
[root@rhlin mysql-3.23.56]#./configure --prefix=/usr/local/mysql
[root@rhlin mysql-3.23.56]#make
[root@rhlin mysql-3.23.56]#make install
[root@rhlin mysql-3.23.56]#make clean
以上都顺利完成,然后执行下面这个脚本时出错
[root@rhlin mysql-3.23.56]#cd scripts
[root@rhlin scripts]# mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables

/usr/local/libexec/mysqld: Fatal error: Can't find messagefile

'/usr/local/share/mysql/english/errmsg.sys'


Installation of grant tables failed!

Examine the logs in /usr/local/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/local/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
[root@rhlin scripts]#
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表