mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-10-28 15:54:07 -07:00
Update Mysql.sh add create user command
This commit is contained in:
1 parent
5afbb2dd0f
commit
a37345dc55
1 file changed
+2
@@ -8,3 +8,5 @@ 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 prospectwith.* TO 'power'@'localhost' WITH GRANT OPTION; # Grant all privileges on database
|
||||
|
||||
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; # Create user
|
||||
Reference in new issue
Block a user