mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-22 04:45:16 +00:00
Merge pull request #208 from nicolasDonkey/patch-1
Update Mysql.sh add create user command
This commit is contained in:
commit
d8d6fa49c0
@ -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
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user