This commit is contained in:
Bob Mottram 2017-06-05 20:19:31 +01:00
parent 3f02251630
commit e1b8af8664
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ function install_mariadb {
# See http://www.pontikis.net/blog/debian-9-stretch-rc3-web-server-setup-php7-mariadb
# https://mariadb.com/kb/en/mariadb/unix_socket-authentication-plugin
function_check run_query
run_query msql "update mysql.user set plugin = '' where User='root'; flush privileges;"
run_query mysql "update mysql.user set plugin = '' where User='root'; flush privileges;"
mysqladmin -u root password "$MARIADB_PASSWORD"
mark_completed $FUNCNAME