Problems occurred after upgrading from 7.10 to 8.04

Q: locate: can not open '/var/lib/mlocate/mlocate.db': No such file or directory
A: sudo updatedb [https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/204357]

Q: Using perl script to connect mysql: Can't connect to MySQL server on 'mysql_server_ip' (111) at DBI.pl line X
A: comment out ''bind-address = 127.0.0.1'' in /etc/mysql/my.cnf [https://bugs.launchpad.net/ubuntu/+source/mysql-admin/+bug/155274], and then /etc/init.d/mysql restart (restart mysql)

創作者介紹
創作者 wenching520 的頭像
wenching520

牧羊人

wenching520 發表在 痞客邦 留言(0) 人氣()