helpful setup script for creating the dev sql user in testing

This commit is contained in:
shockrah 2020-07-21 15:00:06 -07:00
parent 84d3464f6c
commit 6a9f91429e

View File

@ -0,0 +1,8 @@
#!/bin/sh
# Running the
mysql -u root -p \
"CREATE USER 'freechat_dev'@'locahost' IDENTIFIED BY 'password';"
mysql -u root -p \
"GRANT ALL PRIVILEGES ON freechat.* TO 'freechat_dev'@'localhost';"