helpful setup script for creating the dev sql user in testing
This commit is contained in:
1 parent
84d3464f6c
commit
6a9f91429e
1 file changed
+8
@@ -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';"
|
||||||
Reference in new issue
Block a user