1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +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;

View file

@ -99,6 +99,7 @@ async fn main() -> Result<()> {
}
HazeArgs::Test { options, path } => {
let cloud = Cloud::create(&mut docker, options, &config).await?;
println!("Waiting for servers to start");
cloud.wait_for_start(&mut docker).await?;
println!("Installing");
cloud