Difference between revisions of "Users"
From MyWiki
Line 1: | Line 1: | ||
grant ALL on <database>.<table> to '<username>'@'<hostname>' identified by '<password>'<br> | grant ALL on <database>.<table> to '<username>'@'<hostname>' identified by '<password>'<br> | ||
GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@'localhost’;<br> | GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@'localhost’;<br> | ||
+ | REVOKE [type of permission] ON [database name].[table name] FROM ‘[username]’@‘localhost’;<br> |