曦风日记 发表于 2009-4-2 13:42:41

mysql -A 问题

大家好,我前几天执行了此命令后mysqldump -u root --add-locks --all-databases > /root/backup.sql
使用student表的时候就出现以下提示,并且光标一直停在那里,上次执行了UNLOCK TABLES后可以正常使用student表了,今天use student表的时候又出现了下面的提示,用UNLOCK TABLES也解决不了,最后用mysql -A 竟然解决了,大有没有有遇到类似的问题呢?我help -A 参数,大致的意思是说没有自动替换,一个有使用rehash,得到表和文件结束,这在mysql开始之前赋予一个快速的开始。
mysql> use student;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

kider 发表于 2009-4-9 11:19:46

你的表结构文件可能有问题了,-A是不读你的结构,而当你use student时是要读,就报错

把此表修复或重建吧
页: [1]
查看完整版本: mysql -A 问题