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

Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from settings where options = member_registration limit 1) #39

Open
mastatogedhe opened this issue Oct 22, 2021 · 1 comment

Comments

@mastatogedhe
Copy link

Install di hosting, muncul Illuminate\Database\QueryException
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) (SQL: select * from settings where options = member_registration limit 1)

mohon solusi

@gagaltotal
Copy link

gagaltotal commented Jan 26, 2022

kalau di hosting dan vps linux coba mas nya ke directory /po-include
terus buka file .env
masukin DB dan username berserta password nya
udah itu ke composer nya

composer install
php artisan key:generate
php artisan cache:clear

terus hak akses permission nya di directory bootstrap kasih akses 777
sudo chmod -R 777 bootstrap/cache
sudo chmod -R 777 storage/

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

2 participants