I have a problem with artisan and the migrations.
I just created a new project, copy-paste my database using Laravel Schema Design
, put the schemaLenght
into my config/database.php
file. Then I made the php artisan migrate and I got this error:
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = table_atelier and table_name = migrations).
So, I would like to know, what is the problem?
I think, maybe it's the new version of MAMP, I upgrad it. Or, maybe, the php version (I have the 7.1.12
or the 7.2.1
).