mercredi 27 décembre 2017

Laravel registration error, database is connected, but receiving strange error

I have connected to my database successfully as I was able to do all of my beginning migrations, users table and password reset etc.

It is my first time running php artisan make:auth and when I go to register a new user for the laravel application, I get this error. SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select count(*) as aggregate from users where email = ma@yahoo.com)

Here is my .env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=larabiz
DB_USERNAME=root
DB_PASSWORD=



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire