We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7e6d2 commit 69f01fbCopy full SHA for 69f01fb
func/rebuild.sh
@@ -536,8 +536,8 @@ rebuild_mysql_database() {
536
mysql_connect $HOST
537
mysql_query "CREATE DATABASE \`$DB\` CHARACTER SET $CHARSET" >/dev/null
538
if [ "$(echo $mysql_ver |cut -d '.' -f2)" -ge 7 ] || [ "$mysql_fork" = "mariadb" ]; then
539
- mysql_query "CREATE USER IF NOT EXISTS \`$DBUSER\`"
540
- mysql_query "CREATE USER IF NOT EXISTS \`$DBUSER\`@localhost"
+ mysql_query "CREATE USER IF NOT EXISTS \`$DBUSER\`" > /dev/null
+ mysql_query "CREATE USER IF NOT EXISTS \`$DBUSER\`@localhost" > /dev/null
541
if [ "$mysql_fork" = "mariadb" ]; then
542
query="UPDATE mysql.user SET Password='$MD5' WHERE User='$DBUSER'"
543
else
0 commit comments