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