QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 646|回复: 10

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

[复制链接]
发表于 2004-6-8 20:54:52 | 显示全部楼层 |阅读模式
当我运行
./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
[root@localhost mysql-standard-4.0.17-pc-linux-i686]# Starting mysqld daemon with databases from /root/php_mysql/mysql-standard-4.0.17-pc-linux-i686/data
040608 20:47:12  mysqld ended
-------------------------------
我也没有装过呀,而且/bin/mysqladmin version 的时候bash: mysqladmin: command not found
发表于 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
回复

使用道具 举报

发表于 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!

不是说的很清楚了吗。这是一个可以直接运行的二进制版本,不用编译。
回复

使用道具 举报

 楼主| 发表于 2004-6-8 21:15:47 | 显示全部楼层
怎么运行?我是鸟鸟
回复

使用道具 举报

发表于 2004-6-8 21:16:41 | 显示全部楼层
看README
回复

使用道具 举报

发表于 2004-6-8 21:17:30 | 显示全部楼层
[quote:758094f52c="axinaxin"]怎么运行?我是鸟鸟[/quote]
继续往下看,你自己就把方法贴出来了啊,还要问。
回复

使用道具 举报

发表于 2004-6-8 21:19:27 | 显示全部楼层
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &


回复

使用道具 举报

 楼主| 发表于 2004-6-8 21:25:07 | 显示全部楼层
[root@localhost bin]# ./safe_mysqld&
[1] 25788
[root@localhost bin]# Starting mysqld daemon with databases from /usr/local/mysql/data
040608 21:19:20  mysqld ended

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

使用道具 举报

 楼主| 发表于 2004-6-8 21:25:42 | 显示全部楼层
[root@localhost bin]# ./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!
[1]+  Exit 127                mysqld
回复

使用道具 举报

发表于 2004-6-8 21:29:29 | 显示全部楼层
呵呵,你还是先看看MySQL手册吧,既然初学,就更要自己看手册了嘛,要不我也是copy手册上的东西贴在这,还不如你自己看呢。 :-)
回复

使用道具 举报

 楼主| 发表于 2004-6-8 21:30:48 | 显示全部楼层
那里有手册可以告诉我马
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 20:23 , Processed in 0.069453 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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