I have been trying to set up an automated build for a Laravel5 project using buildkite. It has been going pretty well, except for running the migrations.
mysql -u root -h localhost -e ‘CREATE DATABASE admin’
php artisan migrate –force –database=admin
The first command works fine. The second one does not. It gives me the following error:
SQLSTATE[HY000]  Can’t connect to MySQL server on ‘docker.dev’ (111)
Which is strange seen as ‘docker.dev’ is nowhere in my config or files. I have no idea where it is getting that from. I have cleared all cache, restarted the server, reloaded all the config.
Is there anybody that has any suggestions where to look?
from Newest questions tagged laravel-5 – Stack Overflow http://ift.tt/1S66tpC