yiyamzen
(yiyamzen)
中级会员
 
中级会员
UID 63892
精华
0
积分 493
帖子 359
金钱 493 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2005-4-1
状态 离线
|
关于linux上装mysql时出的问题
关于linux上装mysql时出的问题
过程如下,不知那儿错了..好像没有权限,可又不知怎么改..
请各位帮忙看一下,先谢了~
[root@localhost mysql-5.0.22]# ls
bin docs lib scripts tests
configure EXCEPTIONS-CLIENT man share
COPYING include mysql-test sql-bench
data INSTALL-BINARY README support-files
[root@localhost mysql-5.0.22]# ./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
Fill help tables
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 http://shop.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-5.0.22]# chown: ‘mysql’: 无效的用户
Starting mysqld daemon with databases from /root/mysql-5.0.22/data
STOPPING server from pid file /root/mysql-5.0.22/data/localhost.localdomain.pid
060614 20:40:41 mysqld ended
|
|