Khandaker Toihidul Islam
Front-end Developer
React Js | Javascript | HTML | CSS | Bootstrap | Wordpress | PHP | Mysql

Database access denied for laravel 8 or lumen 8

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='@#####'

You may also like...

Leave a Reply