MySQLにストレージプラグインを登録しようとした際、予期せぬエラーが起きる事があります。 mroonga の事例を用いて、その原因と解消法を紹介します。 Case.1: API version for STORAGE ENGINE plugin is too different mysql> INSTALL PLUGIN groonga SONAME 'ha_groonga.so'; ERROR 1126 (HY000): Can't open shared library 'ha_groonga.so' (errno: 0 API version for STORAGE ENGINE plugin is too different) 原因:異なる(おそらく古い)MySQL向けにコンパイルされたプラグインをMySQLに読み込ませた事によるエラーです。 解決法:そのプラグインが推奨するMy