QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 630|回复: 1

mysql的编译问题

[复制链接]
发表于 2005-1-11 21:50:36 | 显示全部楼层 |阅读模式
我下的是这个包mysql-standard-4.1.7-pc-linux-i686
系统是rh8.0




[root@localhost mysql-standard-4.1.7-pc-linux-i686]# ./configure
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
050111 21:46:01 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
050111 21:46:01 [Warning] Asked for 196608 thread stack, but got 126976

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.1.7-pc-linux-i686]# chown: `mysql': invalid user
Starting mysqld daemon with databases from /home/jh/src/mysql-standard-4.1.7-pc-linux-i686/data
STOPPING server from pid file /home/jh/src/mysql-standard-4.1.7-pc-linux-i686/data/localhost.localdomain.pid
050111 21:46:02  mysqld ended

到这就停了什么意思我不明白
发表于 2005-1-13 10:12:16 | 显示全部楼层
看样子是你没有拆除老的MySQL(可能是系统默认安装的)或没有将老的库文件删除(换名另存)。你需要先用#rpm -qa mysql看看有没有老的MySQL并按照列出的MySQL版本号用#rpm -e mysql-xxx拆除,最后别忘了将/var/lib/mysql下的库文件删除或换名另存。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-6 16:48 , Processed in 0.057748 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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