LinuxSir.cn,穿越时空的Linuxsir!

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

mysql 安装

[复制链接]
发表于 2004-12-30 15:10:52 | 显示全部楼层 |阅读模式
www.mysql.com 下载了 mysql-standard-4.1.8-pc-linux-i686.tar.gz
按照说明 INSTALL-BINARY
     shell> groupadd mysql
     shell> useradd -g mysql mysql
     shell> cd /usr/local
     shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
     shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
     shell> cd mysql
     shell> scripts/mysql_install_db --user=mysql
     shell> chown -R root  .
     shell> chown -R mysql data
     shell> chgrp -R mysql .
     shell> bin/mysqld_safe --user=mysql &

其中   shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf - 这步 我用 #tar -xvzf ******* 代替了

到     shell> scripts/mysql_install_db --user=mysql 提示错误
[root@localhost scripts]# ./mysql_install_db --user=mysql
./mysql_install_db: line 1: my_print_defaults: command not found
Could not find help file 'fill_help_tables.sql' in ./support-files or inside ..
[root@localhost scripts]# ls


是不是我下载错了文件?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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