|
http://www.linuxsir.cn/forum.php ... 0&highlight=php
按你的提示,下载的是mysql-3.23.56.tar.gz,用tar解出后,make及make install都正常,但运行 ./mysql_install_db出现如下图所示,无法建成VAR库,
[root@tcl7696 bin]# ./mysql_install_db
Installing all prepared tables
030608 18:56:38 /usr/local/mysql/libexec/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h tcl7696.domain password 'new-passwor
d'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/local/mysql/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /usr/local/mysql ; /usr/local/mysql/bin/safe_mysqld &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; run-all-tests
Please report any problems with the /usr/local/mysql/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
[root@tcl7696 bin]# pwd
/usr/local/mysql/bin
初学者,完全安装redhat linux9.0、用GOME桌面,此前一天装了apache 2.0.46,谢谢! |
|