我的MYSQL装不上,是什么问题啊

发布于 2022-09-27 11:50:33 字数 2062 浏览 14 评论 0

就在下面这步就不行了
[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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

多孤肩上扛 2022-10-04 11:50:33

不是说mysql正在运行吗?

2022-10-04 11:50:33

是很奇怪噢,我的系统是FC3的,我把MYSQL RPM包都删掉了.才下的TAR.GZ包.为什么会出现这样的情况呢
这个包是在官方网下的,听说现在的新版MYSQL不是免费的,是不是这样啊

装纯掩盖桑 2022-10-04 11:50:33

看看my.cfg有配錯什麼了沒

ㄟ。诗瑗 2022-10-04 11:50:33

怎么会配错呢,MYSQL都还没装上呢

故人爱我别走 2022-10-04 11:50:33

噢.这个文件并不需要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,搞了好半天

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文