|
|
在 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
是不是我下载错了文件? |
|