mercredi 25 avril 2018

Laravel 5.6-> Illuminate\Database\QueryException : SQLSTATE[HY000] [2002] Connection refused default character set utf8mb4 collate utf8mb4_unicode_ci

I have a problem with artisan and the migrations. I just create a new project , copy/past my database made with Laravel Schema Design , put the schemaLenght on my config/database.php file. Then I make the php artisan migrate and I have 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 upgrate it ; or maybe the php version (I have the 7.1.12 or the 7.2.1)

Can you help me please. Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2HZYn0K
via IFTTT

Aucun commentaire:

Enregistrer un commentaire