axinaxin 发表于 2004-6-8 20:54:52

当我安装mysql的时候提示这个。

当我运行
./configure -prefix=/usr/local/mysql 时候
提示如下:

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
040608 20:47:12./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 localhost.localdomain password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl 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

Starting the mysqld server.You can test that it is up and running
with the command:
./bin/mysqladmin version
# Starting mysqld daemon with databases from /root/php_mysql/mysql-standard-4.0.17-pc-linux-i686/data
040608 20:47:12mysqld ended
-------------------------------
我也没有装过呀,而且/bin/mysqladmin version 的时候bash: mysqladmin: command not found

flashor 发表于 2004-6-8 20:58:26


NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!


不用配置
好像解压了,就可以用了
仔细看看README

Bluedata 发表于 2004-6-8 20:58:52

NOTE: This is a MySQL binary distribution. It's ready to run, you don't need to configure it!
不是说的很清楚了吗。这是一个可以直接运行的二进制版本,不用编译。

axinaxin 发表于 2004-6-8 21:15:47

怎么运行?我是鸟鸟

flashor 发表于 2004-6-8 21:16:41

看README

Bluedata 发表于 2004-6-8 21:17:30

怎么运行?我是鸟鸟
继续往下看,你自己就把方法贴出来了啊,还要问。 :mrgreen:

flashor 发表于 2004-6-8 21:19:27


You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &


:mrgreen:

axinaxin 发表于 2004-6-8 21:25:07

# ./safe_mysqld&
25788
# Starting mysqld daemon with databases from /usr/local/mysql/data
040608 21:19:20mysqld ended

这就算运行了?????怎么测试一下呢?

axinaxin 发表于 2004-6-8 21:25:42

# ./mysqladmin version
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
+Exit 127                mysqld

Bluedata 发表于 2004-6-8 21:29:29

呵呵,你还是先看看MySQL手册吧,既然初学,就更要自己看手册了嘛,要不我也是copy手册上的东西贴在这,还不如你自己看呢。 :-)

axinaxin 发表于 2004-6-8 21:30:48

那里有手册可以告诉我马
页: [1]
查看完整版本: 当我安装mysql的时候提示这个。