skip to Main Content

Laravel – MySQL docker container stuck reloading

My stack is win10/wsl2/ubuntu/docker desktop. I'm stuck on running a MySQL docker container. This is a part of my docker-compose.yml: mysql: hostname: a-mysql container_name: a-mysql image: mysql:8 restart: unless-stopped volumes: - ./mysql_data:/var/lib/mysql - ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf - ./mysql/dump:/docker-entrypoint-initdb.d env_file: - .env ports:…

VIEW QUESTION

Mysql – Get data from 3 tables using single query

I have 3 tables in a MySQL database user user_id, (PK) email agreement_user agreement_user_id, (PK) user_id, (FK user.user_id) details contract contract_id, (PK) agreement_user_id, (FK agreement_user.agreement_user_id) details What should be the query to get contract.details and user.email given a contract_id

VIEW QUESTION
Back To Top
Search