freechat/server/scripts/setup-dev-user.sh
2020-07-29 00:35:34 -07:00

9 lines
202 B
Bash

#!/bin/sh
# Running the
mysql -u root -p \
"create user 'freechat_dev'@'localhost' identified by 'password';"
mysql -u root -p \
"GRANT ALL PRIVILEGES ON freechat.* TO 'freechat_dev'@'localhost';"