Theme: N/A
Extension/Mods: N/A
I'm just trying to get started developing locally and on step 3/4 of configuration where I'm supposed to put in database connection details, I'm getting:
Code: Select all
Error: Could not make a database link using root@localhost!
Code: Select all
opencart:
image: myrepo/opencart:3.0.3.2
ports:
- "3000:80"
links:
- mysql
volumes:
- /var/www
- /var/www/html/system/storage/vendor
mysql:
image: mysql
environment:
- MYSQL_USER=root
- MYSQL_ROOT_PASSWORD=opencart
- MYSQL_DATABASE=db_opencart
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- ./db:/var/lib/mysql
I'm starting it up with `docker-compose up` and I'm able to walk through the configuration steps up until this. Can anyone help point to what might be going wrong?