1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 08:44:09 +02:00

fix mysql:8

This commit is contained in:
Robin Appelman 2021-03-14 18:22:09 +01:00
commit 30c028f5bd
2 changed files with 9 additions and 0 deletions

View file

@ -194,6 +194,14 @@ impl Database {
}
},
}),
cmd: if self.image() == "mysql:8" {
Some(vec![
"--default-authentication-plugin",
"mysql_native_password",
])
} else {
None
},
..Default::default()
};
let id = docker.create_container(options, config).await?.id;