Commit 88d39dc 1 parent d9943e0 commit 88d39dc Copy full SHA for 88d39dc
File tree 1 file changed +2
-11
lines changed
1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,10 @@ class MySql extends BaseService
25
25
26
26
protected $ dockerRunTemplate = '-p "${:port}":3306 \
27
27
-e MYSQL_ROOT_PASSWORD="${:root_password}" \
28
- -e MYSQL_ALLOW_EMPTY_PASSWORD="${:allow_empty_password} " \
28
+ -e MYSQL_ALLOW_EMPTY_PASSWORD="1 " \
29
29
-e MYSQL_ROOT_HOST="%" \
30
30
-v "${:volume}":/var/lib/mysql \
31
- "${:organization}"/"${:image_name}":"${:tag}" --default-authentication-plugin=mysql_native_password ' ;
31
+ "${:organization}"/"${:image_name}":"${:tag}" ' ;
32
32
33
33
protected static $ displayName = 'MySQL ' ;
34
-
35
- protected function buildParameters (): array
36
- {
37
- $ parameters = parent ::buildParameters ();
38
-
39
- $ parameters ['allow_empty_password ' ] = $ parameters ['root_password ' ] === '' ? '1 ' : '0 ' ;
40
-
41
- return $ parameters ;
42
- }
43
34
}
You can’t perform that action at this time.
0 commit comments