updated mysql install process
This commit is contained in:
		| @@ -82,7 +82,7 @@ else | ||||
|  | ||||
| # Configure mysql | ||||
| mysql -u root <<-EOF | ||||
| UPDATE mysql.user SET Password=PASSWORD('${PASS}') WHERE User='root'; | ||||
| ALTER USER 'root'@'localhost' IDENTIFIED BY '${PASS}'; | ||||
| DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1'); | ||||
| DELETE FROM mysql.user WHERE User=''; | ||||
| DELETE FROM mysql.db WHERE Db='test' OR Db='test_%'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user