Laradock: Cannot connect to MySQL from Workspace container

Created on 6 Sep 2016  路  1Comment  路  Source: laradock/laradock

Hi,
Maybe this is a dumb question but I'm unable to connect to the MySQL container from the Workspace one with php artisan migrate :

[PDOException]                                                                                                      
SQLSTATE[HY000] [1045] Access denied for user 'theapp'@'laradock_workspace_1.laradock_default' (using password: YES)

My .env file on Laravel seems good and I don't have any problem with phpMyAdmin :

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=theapp
DB_USERNAME=theapp
DB_PASSWORD=theapp

What am I missing ?

>All comments

NVM, was a config problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nickfan picture nickfan  路  3Comments

vocanic-saumini picture vocanic-saumini  路  3Comments

mikeerickson picture mikeerickson  路  3Comments

IgorDePaula picture IgorDePaula  路  3Comments

SamAriafar picture SamAriafar  路  3Comments