mercredi 27 mars 2019

Laravel is using the default homestead user details to connect, even though these have been deleted

I am using laravel 5.8.6 and can connect to my database using the artisan migration tool, and can read and write to the database using tinker with no issues.

When I launch the default scaffolding it fails to connect, complaining that the login failed for user homestead@localhost.

I have deleted the .env.example file and cleared the various cache files with no success.

A full search for homestead only reveals log entries:

Illuminate \ Database \ QueryException (1045) SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from users where email =

Any ideas gratefully received.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire