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:
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue