Closed Juju075 closed 1 year ago
app-database [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
question does i need to ref to .env.local on en_file
docker-compose environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: ${DATABASE_NAME} MYSQL_USER: ${DATABASE_USER} MYSQL_PASSWORD: ${DATABASE_PASSWORD}
.en.local DATABASE_HOST=localhost DATABASE_PORT=3306 DATABASE_NAME=symfony-devops DATABASE_USER=root DATABASE_PASSWORD=root
DATABASE_URL=mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}?serverVersion=5.7
ok - container is running just check credential
app-database [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
question does i need to ref to .env.local on en_file
docker-compose environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: ${DATABASE_NAME} MYSQL_USER: ${DATABASE_USER} MYSQL_PASSWORD: ${DATABASE_PASSWORD}
.en.local DATABASE_HOST=localhost DATABASE_PORT=3306 DATABASE_NAME=symfony-devops DATABASE_USER=root DATABASE_PASSWORD=root
DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL=mysql://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}?serverVersion=5.7