I have deployed a Laravel application with Laradock.
I want to point out that the database connection works fine (users can register, login, ... etc.).
In
As mentioned here, edit laradock .env
file and set:
WORKSPACE_INSTALL_MYSQL_CLIENT=true
Then run:
docker-compose build workspace && docker-composer up -d workspace
That will update your workspace
container and restart it.
Connect to your container:
docker-compose exec workspace bash
You should have access to mysqldump
:
root@82d8b3b3c0a0:/var/www# which mysqldump
/usr/bin/mysqldump