Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shahjalal7311 opened this issue Apr 25, 2018 · 4 comments

Comments

@Shahjalal7311
Copy link

[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
Copy link

change the permisssion of .env file 755 and try again

@soitun
Copy link

soitun commented Jul 2, 2018

default database host is 127.0.0.1

@leopinzon
Copy link

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants