users_permissions
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| users_permissions [2015/03/27 11:11] – created luke7858 | users_permissions [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Mysql User Creation | + | ===Showing GRANTS for a user=== |
| + | <sxh bash> | ||
| + | SHOW GRANTS FOR ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Database manipulation ==== | ||
| + | <sxh bash> | ||
| + | SELECT........read only | ||
| + | |||
| + | INSERT........insert rows/data | ||
| + | |||
| + | UPDATE........change inserted rows/data | ||
| + | |||
| + | DELETE........delete drop rows of data | ||
| + | </ | ||
| + | === Table Manipulation === | ||
| + | <sxh bash> | ||
| + | Table manipulation: | ||
| + | |||
| + | CREATE | ||
| + | DROP | ||
| + | ALTER | ||
| + | </ | ||
| + | \\ | ||
| + | |||
| + | === Granting ALL Privileges on a db === | ||
| + | |||
| + | <sxh bash> | ||
| + | GRANT ALL PRIVILEGES ON databasename.* TO ' | ||
| + | </ | ||
| + | \\ | ||
| + | ===Granting ALL Privileges on ALL dbs === | ||
| + | |||
| + | <sxh bash> | ||
| + | GRANT ALL PRIVILEGES ON *.* TO ' | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | ====REMEMBER To Flush Privileges==== | ||
| + | <sxh bash> | ||
| + | flush privileges; | ||
| + | </ | ||
| + | |||
| + | \\ | ||
users_permissions.1427454699.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
