mirror of https://github.com/apache/cloudstack.git
mysql 5.1 does not have implicit user creation so we do need to have the create user statement
This commit is contained in:
parent
10d62a5fe6
commit
dcbf49d098
|
|
@ -301,7 +301,9 @@ if rootuser:
|
|||
|
||||
replacements = (
|
||||
("CREATE USER cloud identified by 'cloud';",
|
||||
""),
|
||||
"CREATE USER %s@`localhost` identified by '%s'; CREATE USER %s@`%%` identified by '%s';"%(
|
||||
(user,password,user,password)
|
||||
)),
|
||||
("cloud identified by 'cloud';",
|
||||
"%s identified by '%s';"%(user,password)),
|
||||
("cloud@`localhost` identified by 'cloud'",
|
||||
|
|
|
|||
Loading…
Reference in New Issue