mysql安装出问题

mysql安装出问题

这是运行./configure的错误

[root@linux mysql]# ./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.

Sorry, the host 'linux' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
然后,我运行./mysqld stat  出现

[root@linux init.d]# ./mysqld start
Initializing MySQL database:  Sorry, the host 'linux' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
FAILED]

msyql不可以使用,怎么解决阿!!
      
放进你的安装光盘,RedHat/RPMS/里,rpm -Uhv kernel-header*,
再试试。