mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Adding missing >/dev/null in rebuild_mysql_database() func
This commit is contained in:
parent
eb7e6d2fba
commit
69f01fb227
1 changed files with 2 additions and 2 deletions
|
@ -536,8 +536,8 @@ rebuild_mysql_database() {
|
|||
mysql_connect $HOST
|
||||
mysql_query "CREATE DATABASE \`$DB\` CHARACTER SET $CHARSET" >/dev/null
|
||||
if [ "$(echo $mysql_ver |cut -d '.' -f2)" -ge 7 ] || [ "$mysql_fork" = "mariadb" ]; then
|
||||
mysql_query "CREATE USER IF NOT EXISTS \`$DBUSER\`"
|
||||
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
|
||||
if [ "$mysql_fork" = "mariadb" ]; then
|
||||
query="UPDATE mysql.user SET Password='$MD5' WHERE User='$DBUSER'"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue