fix: use root password to backup databases
This commit is contained in:
parent
e08f96e638
commit
1f4d81e319
|
@ -16,8 +16,8 @@ class MariadbContainer(Container):
|
||||||
"""dict: get credentials for the service"""
|
"""dict: get credentials for the service"""
|
||||||
return {
|
return {
|
||||||
'host': self.hostname,
|
'host': self.hostname,
|
||||||
'username': self.get_config_env('MYSQL_USER'),
|
'username': 'root',
|
||||||
'password': self.get_config_env('MYSQL_PASSWORD'),
|
'password': self.get_config_env('MYSQL_ROOT_PASSWORD'),
|
||||||
'port': "3306",
|
'port': "3306",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,8 +91,8 @@ class MysqlContainer(Container):
|
||||||
"""dict: get credentials for the service"""
|
"""dict: get credentials for the service"""
|
||||||
return {
|
return {
|
||||||
'host': self.hostname,
|
'host': self.hostname,
|
||||||
'username': self.get_config_env('MYSQL_USER'),
|
'username': 'root',
|
||||||
'password': self.get_config_env('MYSQL_PASSWORD'),
|
'password': self.get_config_env('MYSQL_ROOT_PASSWORD'),
|
||||||
'port': "3306",
|
'port': "3306",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue