Browse Source

fix: 修复mysql8.0版本身份验证问题

master
ww519441258 5 years ago
parent
commit
e145a2d2f8
  1. 1
      docker-compose.yml

1
docker-compose.yml

@ -16,6 +16,7 @@ services:
mysql: mysql:
image: mysql image: mysql
restart: always restart: always
command: --default-authentication-plugin=mysql_native_password
volumes: volumes:
- ./mysql/etc:/etc/mysql - ./mysql/etc:/etc/mysql
- ./mysql/data:/var/lib/mysql - ./mysql/data:/var/lib/mysql

Loading…
Cancel
Save