docs(mysql): Run SQL query in the background

This commit is contained in:
Julien Le Coupanec 2021-07-05 22:49:19 +02:00
parent f0d26648ae
commit 1c6d4ee480
1 changed files with 2 additions and 0 deletions

View File

@ -10,3 +10,5 @@ SHOW PROCESSLIST; # Show you any queries that are currently running or in the qu
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
mysql -u root -pmypassword -e "MY SQL QUERY" &>> query.log & disown # Run SQL query in the background