分类: LINUX
2011-07-07 15:10:58
backupcentral.db=hgcentral
backupcentral.host=localhost
backupcentral.user=user
backupcentral.password=pass
然后,发现报错为数据库错误,没有/tmp/mysql.sock
解决方案为:
shell>vim /etc/mysql/my.cnf
将socket修改为:
socket=/tmp/mysql.sock
注意同时要修改debian.cnf
socket=/tmp/mysql.cnf
重启mysql
/etc/init.d/mysql restart
成功