LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 898|回复: 4

急呀,论坛怎么装不上呀

[复制链接]
发表于 2008-11-9 14:39:45 | 显示全部楼层 |阅读模式
我在RHEL 5.0上安装EasyDiscuz v2.0  时出现以下提示,如何解决呀

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

150214 23:12:19 [Note] /usr/sbin/mysqld: Shutdown complete


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...
发表于 2008-11-10 09:24:25 | 显示全部楼层
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
回复 支持 反对

使用道具 举报

发表于 2008-11-11 00:11:14 | 显示全部楼层
newper找得很对.
你可以看看mysql的日志,或者看看是不是mysql的配置文件格式有问题.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-11 03:04:39 | 显示全部楼层
多谢了,有没有人可以说的硬详细些呀
回复 支持 反对

使用道具 举报

发表于 2008-11-11 10:04:42 | 显示全部楼层
去下mysql源码,configure一下,看看是否过得了,以确认不是procps的问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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