QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 966|回复: 5

请教一下?????

[复制链接]
发表于 2004-10-25 18:33:34 | 显示全部楼层 |阅读模式
我在安装MYSQL的时候为什么提示这样信息,我那里做错了
[root@localhost mysql-standard-4.0.21-pc-linux-i686]# chown: ‘mysql’: 无效的用户Starting mysqld daemon with databases from /home/ring/www/mysql-standard-4.0.21-pc-linux-i686/data
STOPPING server from pid file /home/ring/www/mysql-standard-4.0.21-pc-linux-i686/data/localhost.localdomain.pid
041025 18:19:40  mysqld ended
发表于 2004-10-25 19:32:42 | 显示全部楼层
看不懂,怎么会chown : 'mysql'之类的。
搂住能否写清楚点。
回复

使用道具 举报

 楼主| 发表于 2004-10-26 21:52:09 | 显示全部楼层
这样的,你们帮我看看怎么回事?
t@localhost mysql-standard-4.0.21-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/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.

Installing all prepared tables
041026 21:43:28 Warning: Asked for 196608 thread stack, but got 126976
041026 21:43:28 ./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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain 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/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.21-pc-linux-i686]# chown: ‘mysql’: 无效的用户Starting mysqld daemon with databases from /home/ring/www/mysql-standard-4.0.21-pc-linux-i686/data
STOPPING server from pid file /home/ring/www/mysql-standard-4.0.21-pc-linux-i686/data/localhost.localdomain.pid
041026 21:43:30  mysqld ended
回复

使用道具 举报

发表于 2004-10-26 22:11:17 | 显示全部楼层
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
这是个 MySQL 的二进制包,不是源代码包。
chown: ‘mysql’: 无效的用户Starting mysqld daemon with databases from /home/ring/www/mysql-standard-4.0.21-pc-linux-i686/data
你的系统里没有“mysql”这个用户, useradd mysql 加一个先。
回复

使用道具 举报

 楼主| 发表于 2004-10-27 08:17:41 | 显示全部楼层
我创建了mysql用户怎么还有问题呢,如果说我下载那个是二进制包,那请推荐一个愿码包好吗?
请在帮我看看这又是萨姆意思,我呢真的是没有读多少书E文基本不认识,请你们帮忙了!
[root@localhost mysql-standard-4.0.21-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --sysconfdir=etc --localstatedir=/var/lib/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
041027  8:01:09 Warning: Asked for 196608 thread stack, but got 126976
041027  8:01:09 ./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 !
To do so, start the server, then issue the following commands:
./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.21-pc-linux-i686]# Starting mysqld daemon with databases from /home/mysql/mysql-standard-4.0.21-pc-linux-i686/data
STOPPING server from pid file /home/mysql/mysql-standard-4.0.21-pc-linux-i686/data/localhost.localdomain.pid
041027 08:01:10  mysqld ended
回复

使用道具 举报

发表于 2004-10-27 13:20:03 | 显示全部楼层
去这里http://dev.mysql.com/downloads/下载一个适合你自己的mysql
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-7 07:48 , Processed in 0.048588 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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