User Tools

Site Tools


users_permissions

This is an old revision of the document!


Showing GRANTS for a user

1
SHOW GRANTS FOR 'user'@'x.x.x.x';

Database manipulation

1
2
3
4
5
6
7
SELECT........read only
 
INSERT........insert rows/data
 
UPDATE........change inserted rows/data
 
DELETE........delete drop rows of data

Table Manipulation

1
2
3
4
5
Table manipulation:
 
CREATE
DROP
ALTER

Granting ALL Privileges on a db

1
GRANT ALL PRIVILEGES ON databasename.* TO 'user'@'x.x.x.x';

Granting ALL Privileges on ALL dbs

1
GRANT ALL PRIVILEGES ON *.* TO 'user'@'x.x.x.x';


REMEMBER To Flush Privileges

1
flush privileges;


users_permissions.1428012015.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