helpful setup script for creating the dev sql user in testing
This commit is contained in:
parent
84d3464f6c
commit
6a9f91429e
8
server/scripts/setup-dev-user.sh
Normal file
8
server/scripts/setup-dev-user.sh
Normal 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';"
|
Loading…
Reference in New Issue
Block a user