lundi 2 septembre 2019

Laravel - mariaDB connection refused

On my new laptop, i've windows 10 with ubuntu bash. mariadb 10.1 working fine and trying to config my laravel projects. But when i try to login on laravel 5.6 i get the message: "Connection refused"

I try into DB_HOST my local IP and 127.0.0.1 I checked all connections, clean cache from laravel, try connection to mysql from command line.

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=database
DB_USERNAME=root
DB_PASSWORD=root

Ideas?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire