LAInstall: Database is not connected. Connect database (.env) and run 'la:install' again. (laravel 5.2
Opened this issue · 4 comments
Shahjalal7311 commented
[Exception]
LAInstall: Database is not connected. Connect database (.env) and run 'la:i
nstall' again.
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas
sword: YES)
Ethosteck commented
change the permisssion of .env file 755 and try again
soitun commented
default database host is 127.0.0.1
leopinzon commented
@Shahjalal7311 Maybe this is a silly question but, did you test your db connection? it your mysql up and running in that address:port?
kenionatan commented
I solved the problem changing the user hostname from %(any host) to localhost