yoichiro / chrome_mysql_admin

ChromeMyAdmin provides you the administration GUI of MySQL server. It is like phpMyAdmin, Sequel Pro.
https://www.eisbahn.jp/chrome_mysql_admin
Apache License 2.0
140 stars 33 forks source link

MySQL - Issue creating / granting user #19

Closed JohnnyBlocks closed 9 years ago

JohnnyBlocks commented 9 years ago

create user 'ausername'@'%' identified by 'apassword'; Grant SELECT, INSERT, UPDATE, DELETE on aDatabase.aTable to 'ausername'@'%'

I expected these commands to execute successfully. But they yield an error:

[Error code:1064 SQL state:42000] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GRANT SELECT, INSERT, UPDATE, DELETE on aDatabase.aTable to 'ausername'@'%'' at line 2

However when I execute this command in mySQL workbench, they execute successfully.

yoichiro commented 9 years ago

I have just released the new version including the diff to fix this issue: https://github.com/yoichiro/chrome_mysql_admin/commit/dce4980d4ddab11622d1b7374a2e370678e6e447 @YoYo-Pete Thanks a lot!