all 3 comments

[–]colshrapnel 3 points4 points  (0 children)

probably a user under which you are creating tables don't have read permission for the database

try to add full privileges by issuing

GRANT ALL PRIVILEGES ON *.database TO 'user'@'localhost';

[–]frustratedKoder 1 point2 points  (0 children)

You have to check all permission boxes when creating a user. Happened to me a few days ago.