Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

EasyDiscuz install mysql problem

[复制链接]
ksh 发表于 2006-5-12 13:33:10 | 显示全部楼层 |阅读模式
Checking MySQL, Please Wait...
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQ
warning: ./RPMS/MySQL-client.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]
warning: ./RPMS/MySQL-server.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
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
060512 12:42:43 [ERROR] Aborting

060512 12:42:43 [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 info11.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...................................[FAILED]
warning: /var/log/mysqld.log saved as /var/log/mysqld.log.rpmsave

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...

運行discuz便connect不到mysql server

Discuz! info: Can not connect to MySQL server

Time: 2006-5-12 4:51am
Script: /index.php

Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
服务器端口不对,请咨询空间商正确的端口

Similar error report has beed dispatched to administrator before.


我用的linux是centos 4.3
Nanu 发表于 2006-5-12 15:47:17 | 显示全部楼层
EasyDiscuz! for Linux 在 CentOS 4.X 系统中运行可能会出现不稳定现象。
原因是由于glibc版本问题,在今后的版本中会提高兼容性。
回复

使用道具 举报

 楼主| ksh 发表于 2006-5-12 18:24:00 | 显示全部楼层
可惜,那么没办法了,唯有等待新版本.........
不用整合,自行设server装好了 ><"
回复

使用道具 举报

Nanu 发表于 2006-5-13 14:55:36 | 显示全部楼层
最新确认,这个问题不是EasyDiscuz!的问题!

这是由于你在安装CentOS 4.3的时候启用了SELinux,所以MySQL是安装不上的。

/etc/selinux/config,关闭SELinux,重启服务器后即可正常安装。
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-26 01:38 , Processed in 0.022225 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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