Hi, I am using xampp server to run my php laravel application. I used the command 'php artisan migrate' for migration and I am getting this error:
: SQLSTATE[HY000]  Connection refused (SQL: select * from information_schema.tables where table_schema = testing and table_name = migrations)
My env file has been modified like this:
where 'testing' is my db name.
I tried many methods and I cross verified my db credentials too.
I need help in this
Top comments (5)
You may follow another abordation, run the docker-compose with postgres and pgadmin for interface:
And configure as follow
Hey, I'm having the same error. I tried everything from changing my .env to re-installing everything up. But nothing seems to work for me. Did anyone find any solution?
Are you sure you activated the xampp?
yes i did
Hmmmm.... maybe you should setup like the first time you did the project