dwijitsolutions/laraadmin

LAInstall: Database is not connected. Connect database (.env) and run 'la:install' again. (laravel 5.2

Opened this issue · 4 comments

[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)

change the permisssion of .env file 755 and try again

default database host is 127.0.0.1

@Shahjalal7311 Maybe this is a silly question but, did you test your db connection? it your mysql up and running in that address:port?

I solved the problem changing the user hostname from %(any host) to localhost