我的MYSQL装不上,是什么问题啊
就在下面这步就不行了
[root@lu mysql-5.0.19]# ./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.
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 lu 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@lu mysql-5.0.19]# Starting mysqld daemon with databases from /usr/local/mysql-5.0.19/data
STOPPING server from pid file /usr/local/mysql-5.0.19/data/lu.pid
060501 19:06:30 mysqld ended
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
不是说mysql正在运行吗?
是很奇怪噢,我的系统是FC3的,我把MYSQL RPM包都删掉了.才下的TAR.GZ包.为什么会出现这样的情况呢
这个包是在官方网下的,听说现在的新版MYSQL不是免费的,是不是这样啊
看看my.cfg有配錯什麼了沒
怎么会配错呢,MYSQL都还没装上呢
噢.这个文件并不需要CONFIGURE.直接用scripts/mysql_install_db --user=mysql
,再把权限给用户就可以了
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
这样就OK了
只怪自己没有认真看README,搞了好半天