It works for me. I just use password between single quotation because of special character is not allowed in .env file.

DB_CONNECTION=mysql
 DB_HOST=localhost
 DB_PORT=3306
 DB_DATABASE=db
 DB_USERNAME=user
 DB_PASSWORD='@#####'

By toihid

Leave a Reply