docker-compose logs [cotainer-name]
查看具体服务的日志信息
执行
command: ["mysqld", "--default-authentication-plugin=mysql_native_password"]
解决
ERROR 1410 (42000) at line 10: You are not allowed to create a user with GRANT
init 执行顺序 按照字典序来的
docker-compose logs [cotainer-name]
查看具体服务的日志信息
执行
command: ["mysqld", "--default-authentication-plugin=mysql_native_password"]
解决
ERROR 1410 (42000) at line 10: You are not allowed to create a user with GRANT
init 执行顺序 按照字典序来的