Sam Morrison 8c951069fa Use newer style mysql syntax for users/passwords
The sytax used for creating users and setting passwords
was deprecated in mysql 5.7 and is not valid in mysql 8.0. [1]

Change to use CREATE USER to create users as opposed
to creating users with GRANT syntax.

Setting passwords also does not use the PASSWORD keyword
anymore. [2]

[1] https://dev.mysql.com/doc/refman/5.7/en/grant.html
[2] https://dev.mysql.com/doc/refman/5.7/en/set-password.html

Change-Id: I0387238ec434073f95dd76f13f1f40c7cec8d1eb
2019-06-19 16:59:28 +10:00
..
2014-01-16 13:13:23 +04:00