Commit 1e9ddaf6 by tingweiwang

fix格式错误

1 parent 798eed02
Showing with 1 additions and 1 deletions
......@@ -9,7 +9,7 @@ mysql_host=127.0.0.1 #为了兼容容器化部署mysql
echo "mysql用户授权远程机器登陆"
mysql -u $mysql_user -p$mysql_password -h $mysql_host -e "use mysql;"
mysql -u $mysql_user -p$mysql_password -h $mysql_host -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' identified by 'seetatech';"
mysql -u $mysql_user -p$mysql_password- h $mysql_host -e "flush privileges;"
mysql -u $mysql_user -p$mysql_password -h $mysql_host -e "flush privileges;"
service mysql restart
echo "创建数据库autodl-core"
mysql -u $mysql_user -p$mysql_password -h $mysql_host -e 'CREATE SCHEMA `autodl-core`;' #数据库名字带-需要通过``符号转义
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!