在使用navcat的窗口查詢mysql的數據時,一直出現
“Commands out of sync; you can't run this command now? ”,我把sql改為最簡單的 select 1,居然也是報這個錯誤。突然想到,上一個查詢 out of memory了,難道是這個原因?
新開了窗口,再查詢,果然就正常了
很無語,搞半天,居然是sql OOM了,然后把navcat的窗口給失效了,所以查詢什么都是 Commands out of sync; you can't run this command now?了。。。。