skip to Main Content

Host 'X' is not allowed to connect to this MySQL server – Phpmyadmin

I wanna deploy MySQL+PHPMyAdmin. My docker-compose.yml: version: "3" services: db: image: mysql:5.7 restart: always container_name: db volumes: - ./~mysql:/var/lib/mysql - ./mysql.cnf:/etc/mysql/conf.d/my.cnf environment: MYSQL_DATABASE: "dbtest" MYSQL_ROOT_PASSWORD: "123456" MYSQL_ROOT_HOST: "%" networks: - db command: --default-authentication-plugin=mysql_native_password healthcheck: test: "mysqladmin ping -h localhost" interval:…

VIEW QUESTION
Back To Top
Search