MYSQL求助!!

由 奥汀 在 12-29-2002 23:03 发表:

MYSQL求助!!

现在新版的MYSQL不能编译。。。我批的是二进制代码包的MYSQL。

有那位有装过。。请教教小弟。。。

直接解压。。CP到/usr/local运行scripts/mysql_install_db 就出现下面第二贴的错误提示。。请各位帮帮忙吧。。APACHE、PHP、CGI、SSL都能装。就是MYSQL装不了。。。我又不想用RPM包。


由 奥汀 在 12-30-2002 03:47 发表:


我用的版本是

mysql-3.23.54a-pc-linux-i686.tar.gz

安这里说的安装也不行

http://www.linuxsir.com/bbs/showthr...p;threadid=2085

错误提示

Installing all prepared tables

021230 3:45:56 ./bin/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:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h odin password 'new-password'

See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run

the ./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 . ; ./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 ./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@odin mysql]# scripts/mysql_install_db

Installing all prepared tables

021230 3:45:56 ./bin/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:

./bin/mysqladmin -u root password 'new-password'

./bin/mysqladmin -u root -h odin password 'new-password'

See the manual for more instructions.

NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run

the ./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 . ; ./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 ./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


由 SickWorm 在 12-30-2002 11:11 发表:

不是已经装好了吗???

You can start the MySQL daemon with:

cd . ; ./bin/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:

cd sql-bench ; run-all-tests


由 penty 在 12-30-2002 11:11 发表:


try to compile from source(?)


由 奥汀 在 12-30-2002 16:55 发表:


不行。。。启动不了。。。我用safe_mysqld --user=mysql &

启动。。就说找不到VAR目录。。。因为我他根本都执行不了mysql_install_db。。所以他加VAR的目录都没有成生。。


由 奥汀 在 12-30-2002 16:57 发表:


从原文件安装,不行啊。。执行./confugure 就出现第二贴情况。


由 北南南北 在 12-30-2002 17:15 发表:


进入您所安装的mysql的目录,执行一下,

#./safe_mysqld &

或许在/usr/bin目录中执行

#./safe_mysqld &


===========================

请弟兄们发帖时要写个好标题,多谢!

===========================

每天以1000KM/H的速度在跑,感觉还是时间不够:(

“西学东渐,洋为中用” + 创造 = ?

linux ppc


由 奥汀 在 12-30-2002 18:20 发表:


进入您所安装的mysql的目录,执行一下,

#./safe_mysqld &

提示

Starting mysqld daemon with databases from /usr/local/mysql/data

021230 18:20:58 mysqld ended

或许在/usr/bin目录中执行

#./safe_mysqld &

无任何提未。。。

如果执行在mysql的目录,执行

./safe_mysqld --user=mysql &

提示

The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable

Please do a cd to the mysql installation directory and restart

this script from there as follows:

./bin/safe_mysqld.

如果执行./mysql_install_db

提示

./mysql_install_db: line 1: my_print_defaults: command not found

Didn't find ./bin/mysqld

You should do a 'make install' before executing this script

请各位帮个忙


由 奥汀 在 12-31-2002 01:32 发表:


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus