It seems in .env file you set empty password for database access.Set database credentials properly in .env file and try again.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE= // your database name
DB_USERNAME= //root or your database user
DB_PASSWORD= // database password
2
Answers
It seems in .env file you set empty password for database access.Set database credentials properly in .env file and try again.
You should reset password in cmd by these commands
Open the bash shell and connect to the server as root user:
mysql -u root -h localhost -p
Run ALERT mysql command:
ALTER USER ‘userName’@’localhost’ IDENTIFIED BY ‘New-Password-Here’;
Finally type SQL command to reload the grant tables in the mysql database:
FLUSH PRIVILEGES;
more here