User Tools

Site Tools


users_permissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
users_permissions [2015/04/02 21:56] luke7858users_permissions [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===Showing GRANTS for a user=== ===Showing GRANTS for a user===
 <sxh bash> <sxh bash>
-SHOW GRANTS FOR user@x.x.x.x';+SHOW GRANTS FOR 'user'@'x.x.x.x'; 
 +</sxh> 
 + 
 + 
 +==== Database manipulation ==== 
 +<sxh bash> 
 +SELECT........read only 
 + 
 +INSERT........insert rows/data 
 + 
 +UPDATE........change inserted rows/data 
 + 
 +DELETE........delete drop rows of data 
 +</sxh> 
 +=== Table Manipulation === 
 +<sxh bash> 
 +Table manipulation: 
 + 
 +CREATE 
 +DROP 
 +ALTER
 </sxh> </sxh>
 \\ \\
Line 8: Line 28:
  
 <sxh bash> <sxh bash>
-GRANT ALL PRIVILEGES ON databasename.* TO user@x.x.x.x';+GRANT ALL PRIVILEGES ON databasename.* TO 'user'@'x.x.x.x';
 </sxh> </sxh>
 \\ \\
Line 14: Line 34:
  
 <sxh bash> <sxh bash>
-GRANT ALL PRIVILEGES ON *.* TO user@x.x.x.x';+GRANT ALL PRIVILEGES ON *.* TO 'user'@'x.x.x.x'
 +</sxh> 
 + 
 +\\ 
 +====REMEMBER To Flush Privileges==== 
 +<sxh bash> 
 +flush privileges;
 </sxh> </sxh>
  
 \\ \\
users_permissions.1428011789.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki