jeudi 25 février 2016

Laravel + Homestead: Access denied for user 'homestead'@'localhost'

This is my first attempt using Laravel. Here is my .env file

APP_ENV=local
APP_DEBUG=true
APP_KEY=k9ld4YcEsFgVUArv46L1U1zXxOG6B5C6

DB_HOST=127.0.0.1
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

And here is the same file in VM

APP_ENV=local
APP_DEBUG=true
DB_HOST=127.0.0.1FgVUArv46L1U1zXxOG6B5C6
DB_DATABASE=homestead
DB_USERNAME=homestead
CACHE_DRIVER=filet
SESSION_DRIVER=file
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

This is correct? The password is missing.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Q4Rzgo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire