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:
parent
a3bb24d0d9
commit
30c028f5bd
2 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue