mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-10-29 08:04:08 -07:00
docs(mysql): update all privileges
This commit is contained in:
1 parent
e963b93ded
commit
08ffddee57
1 file changed
+1
-1
+1
-1
@@ -7,4 +7,4 @@ mysql -u username -p database_name < file.sql # Import d
|
||||
|
||||
SHOW PROCESSLIST; # Show you any queries that are currently running or in the queue to run
|
||||
|
||||
GRANT ALL PRIVILEGES ON mydb.* TO 'myuser'@'%' WITH GRANT OPTION; # Grant **all** privileges on database
|
||||
GRANT ALL ON mydb.* TO 'myuser'@'locahost'; # Grant **all** privileges on database
|
||||
Reference in new issue
Block a user