MySQL : Permanently getting “ Waiting for table metadata lock”

后端 未结 3 1363
盖世英雄少女心
盖世英雄少女心 2020-12-25 14:51

My MySQL database serves three webapps as the storage backend. However I recently encounter permanantly the error \"Waiting for table metadata lock\". It happen nearly all t

3条回答
  •  不思量自难忘°
    2020-12-25 15:33

    In case if you have HS plugin and trying to CREATE or ALTER table which was already attempted to assess via HS you will face with similar problem and you have to restart HS plugin in this way to release table metadata lock:

    UNINSTALL PLUGIN HANDLERSOCKET;
    INSTALL PLUGIN HANDLERSOCKET SONAME 'handlersocket.so';
    

提交回复
热议问题