标题: 编译出错,查不到相关文档。 [打印本页] 作者: limits 时间: 2006-06-23 09:44 标题: 编译出错,查不到相关文档。 我在编译4.1.20时,老是不成功。
运行./configure --prefix=/usr/local/mysql --with-charset=gbk后,会有下面的提示:
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-4.1.20]# Starting mysqld daemon with databases from /root/software/mysql-4.1.20/data
STOPPING server from pid file /root/software/mysql-4.1.20/data/localhost.localdomain.pid
060623 09:41:55 mysqld ended
查了messages,内容为:
Jun 23 09:10:33 localhost xinetd[1628]: xinetd Version 2.3.10 started with libwrap options compiled in.
Jun 23 09:10:33 localhost xinetd[1628]: Started working: 1 available service
Jun 23 09:10:34 localhost xinetd: xinetd startup succeeded
Jun 23 09:10:35 localhost sendmail: sendmail startup succeeded
Jun 23 09:10:36 localhost sendmail: sm-client startup succeeded
Jun 23 09:10:36 localhost gpm: gpm startup succeeded
Jun 23 09:10:37 localhost crond: crond startup succeeded
Jun 23 09:10:37 localhost anacron: anacron startup succeeded
Jun 23 09:10:37 localhost atd: atd startup succeeded
Jun 23 09:11:06 localhost sshd(pam_unix)[1708]: session opened for user root by (uid=0)
Jun 23 09:11:08 localhost sshd(pam_unix)[1708]: session closed for user root
Jun 23 09:11:19 localhost sshd(pam_unix)[1748]: session opened for user root by (uid=0)
Jun 23 09:23:03 localhost rz[1789]: [root] mysql-standard-4.1.20-pc-linux-gnu-i686-icc-glibc23.tar.gz/ZMODEM: 30877550 Bytes, 842851 BPS
Jun 23 09:36:05 localhost rz[2035]: [root] mysql-3.23.54a-11.i386.rpm/ZMODEM: 5247012 Bytes, 917568 BPS
Jun 23 09:36:06 localhost rz[2035]: [root] mysql-devel-3.23.54a-11.i386.rpm/ZMODEM: 580038 Bytes, 507038 BPS
Jun 23 09:36:06 localhost rz[2035]: [root] MySQL-python-0.9.1-6.i386.rpm/ZMODEM: 92549 Bytes, 803509 BPS
Jun 23 09:36:07 localhost rz[2035]: [root] mysql-server-3.23.54a-11.i386.rpm/ZMODEM: 1119094 Bytes, 898678 BPS