|
|
@@ -7,7 +7,16 @@ services:
|
|
|
MYSQL_DATABASE: root
|
|
|
ports:
|
|
|
- "3317:3306"
|
|
|
- command: "--default-authentication-plugin=mysql_native_password"
|
|
|
+ # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
+ restart: always
|
|
|
+ mysql8:
|
|
|
+ image: mysql:latest
|
|
|
+ environment:
|
|
|
+ MYSQL_ROOT_PASSWORD: root
|
|
|
+ MYSQL_DATABASE: root
|
|
|
+ ports:
|
|
|
+ - "3318:3306"
|
|
|
+ # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
restart: always
|
|
|
mysql56:
|
|
|
image: mysql:5.6
|
|
|
@@ -16,5 +25,5 @@ services:
|
|
|
MYSQL_DATABASE: root
|
|
|
ports:
|
|
|
- "3316:3306"
|
|
|
- command: "--default-authentication-plugin=mysql_native_password"
|
|
|
+ # command: "--default-authentication-plugin=mysql_native_password"
|
|
|
restart: always
|