I am encountering an error when trying to connect to my MySQL database in a Laravel application. The error message is:
Access denied for user 'root'@'localhost' (using password: YES)
.env
Configuration:Here are the relevant parts of my .env
file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=multivendor_ecommerce
DB_USERNAME=root
DB_PASSWORD=0000
0000
as the password.root
user, and if so, how do I do that?Make the password the string: "" and see