linux错误: locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory 命令 locate my.cnf 产生以上错误 此时执行 # updatedb 更新下数据库即可