diff --git a/databases/mysql.sh b/databases/mysql.sh index b28b272..040ffe8 100644 --- a/databases/mysql.sh +++ b/databases/mysql.sh @@ -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