PureFTPd一直都没有问题,突然挂了
我用的是LNMPA0.7 一直用的好好的阿,没有作什么修改,昨天突然打不开的,www.abc.com/ftp 打不开,用flashfxp 客户端软件,也连接不上FTP,没偶搜索到答案,发帖求助了只好,错误提示是Error: MySql server not found.
MySql error : Access denied for user 'ftp'@'localhost' (using password: YES)
[ 本帖最后由 shazig 于 2011-9-19 11:44 编辑 ] 搜索的帖子说看MYSQL数据库是否运行政策,应该政策,我的论坛可以打开,可以发帖,都正常,就是FTP打不开。 /home/wwwroot/ftp/config.php 看看数据库连接信息是否正确 $LANG = "Chinese"; // See the directory language for the available languages.
$LocationImages ="images"; // Location of images
$DBHost = "127.0.0.1"; // Ip-address of MySQL server
// (Don抰 change this if you are using the default database)
$DBLogin = "ftp"; // Username of MySQL user
$DBPassword = "123456789"; // Password of MySQL user
$DBDatabase = "ftpusers"; // Name of database
$FTPAddress = "127.0.0.1:21"; // Domain name or ip-address of your ftp server
$DEFUserID = "65534"; // nobody // Default user id of virtual ftp user.
$DEFGroupID = "31"; // guest // Default group is of virtual ftp user.
$UsersFile = "/etc/passwd"; // The unix user file
$GroupFile = "/etc/group"; // The unix group file
$StyleSheet = "style/default.css.php"; // The location of the style sheet
$EnableQuota = 0; // Enable virtual quota's (0=Off 1=On)
$EnableRatio = 0; // Enable ratio (0=Off 1=On)
// The pureftpd server has to be compiled with ratio support. 貌似都正常阿。。。.............................. 其他的我没懂是什么意思,我只看到数据库明和密码没错。 这个是数据库截图
只有两个表吗 ?我没有操作说明啊。
http://bbs.diguo.cn/data/attachment/forum/201110/01/030233920aim0i11411zm0.bmp
[ 本帖最后由 shazig 于 2011-10-1 03:03 编辑 ] phpmyadmin里重设 ftp127.0.0.1 的密码试试。
/home/wwwroot/ftp/config.php 这里面的密码和重设后的密码一样再试试
页:
[1]