标题: 帮忙看看是哪里有误呀 [打印本页] 作者: yupanlovehlq 时间: 2008-11-09 14:11 标题: 帮忙看看是哪里有误呀 本人在红帽企业版5.0上装Easydiscuz v2.0 ,可是安装到下面的时候就提示mysql失败。论坛也无法使用。
Checking MySQL, Please Wait...
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
Preparing... ########################################### [100%]
1:MySQL-client ########################################### [100%]
Preparing... ########################################### [100%]
1:MySQL-server ########################################### [100%]
ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
150214 23:12:18 [ERROR] Aborting
WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED!
The "HELP" command might not work properly
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
Please report any problems with the /usr/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 MySQL...................................[失败]
Please set MySQL root password:
Please verify MySQL root password:
You Have Successful Set MySQL root Password!
The password is saved to /etc/mysql_root_password
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
MySQL PID file could not be found! [失败]
Starting MySQL................................... [失败]
Please wait for 10 seconds to start MySQL Server...
Preparing the L.A.M.P installation, Please wait...