I have a demo mysql database the I would like all users to be able to see.
How do I grant SELECT on this one database to all the mysql users?
I tried:
GRANT SELECT ON demodb.* TO ”@localhost;
This seemed to run, but no change on the visability of the demodb database.
Any help?
Try this query –
Then run ‘FLUSH PRIVILEGES;’ to apply privileges.