Skip to content

Commit

Permalink
docs(mysql): grant all privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
LeCoupa committed Sep 11, 2020
1 parent 0b10cb9 commit e8be8df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions databases/mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ mysqldump -h hostname -u username -p database_name -P port > file.sql # Export d
mysql -u username -p database_name < file.sql # Import database

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

0 comments on commit e8be8df

Please sign in to comment.