-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey,
REMARK: Some special characters in your password might need some special encoding |
Beta Was this translation helpful? Give feedback.
-
i just resolve the situation. |
Beta Was this translation helpful? Give feedback.
i just resolve the situation.
clean your docker-compose file if you use mysql, cause it's start with Postgres
Don't hesitate to clean the file, and put the right port for you database.
In my case:
version: '3.7'
services:
database:
image: 'mysql:latest'
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: main
ports:
# To allow the host machine to access the ports below, modify the lines below.
# For example, to allow the host to connect to port 3306 on the container, you would change
# "3306" to "3306:3306". Where the first port is exposed to the host and the second is the container port.
# See https://docs.docker.com/compose/compose-file/#ports for more information.
- '3306'
###> …