xiezhenye / mysql-plugin-disable-myisam

MySQL plugin to disable creating MYISAM tables.
GNU General Public License v2.0
25 stars 7 forks source link

allow creation of tables in mysql/default database #4

Closed dynek closed 9 years ago

dynek commented 9 years ago

I encountered an issue where database named "mysql" had to be fixed in regard to user permission. This was not possible due to plugin blocking myisam tables (which mysql/default database makes use of).

Feel free to modify/improve.

dynek commented 9 years ago

I wish you accepted and merged this PR :-) It really makes sense.

xiezhenye commented 9 years ago

I've add a global variable disable_myisam_allow_sys to control whether creating MYISAM table in system databases like mysql or tmp is allowed.