1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-01 01:03:54 +00:00

docs(mysql): update all privileges

This commit is contained in:
Julien Le Coupanec 2020-11-30 17:20:50 +01:00
parent e963b93ded
commit 08ffddee57

View File

@ -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 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