Mysql为什么不能./configure

Mysql为什么不能./configure


作者 zan_jian (newbie)
时间 09/17/01 05:09 PM




#tar -xzvf mysql-3.23.40-pc-linux-gnu-i686.tar.gz
#cd mysql-3.23.40-pc-linux-gnu-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

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 !
This is done with:
./bin/mysqladmin -u root -p password 'new-password'
./bin/mysqladmin -u root -h linux -p 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/safe_mysqld &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; 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
Starting mysqld daemon with databases from /home/public/apache/mysql-3.23.40-pc-linux-gnu-i686/data
010917 17:01:05 mysqld ended







      
对呀,提示信息不是说的已经很清楚了吗?      
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

对啊!!第一句话不是说俄很清楚了么!!you don't
need to configure it


you don't
need to configure it
      
是不是不用configure,make,make install了呢?
先谢谢了。
还有一个问题:为什么不能运行mysql?
#mysql
Error 2002:Can't connect to local Mysql server through socket '/var/lib/mysql/mysql.sock' (111)

请不吝赐教!
      
或许路径不对?

找找看吧。      
能不能给个.tar.gz的下载网址不胜感激!



      
现在到 Linuxbyte
http://download.linuxbyte.net/of ... ysql-3.23.42.tar.gz 下了一个
mysql-3.23.42,可以configure了,但是又出了新问题,请看下面是我的安装过程:

#tar -xzvf mysql-3.23.42.tar.gz

#cd mysql-3.23.42

#configure --prefix=/usr/local/mysql

#make

#make install

#./scripts/mysql_install_db

#cd /usr/local/mysql/bin

#safe_mysqld &
Starting mysqld daemon with databases from /usr/local/mysql/var
010919 15:24:13 mysqld ended

#mysql
ERROR 2002:Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'(111)

和我以前用rpm安装过有没有关系?



      
      
旧的版本要先弄干净。      
估计是你的服务的进程没有开起来
你可以用ps -ef|grep mysql来查看进程
如果没有的话,我也没有办法了,应该是重新撞一下吧