An exception occurred in driver: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host

Viewed 2413

I'm a beginner in Symfony and I have e few problems when I run my command

symfony server:start

I searched before asking you, but I couldn't resolve my problems. These are my errors on the terminal. (I am on Mac)

Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException:
   "An exception occurred in driver: SQLSTATE[08006] [7] server closed the connection unexpectedly
    This probably means the server terminated abnormally before or while processing the request."
at ./Documents/mySymfony/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php line 88

Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /""
 at ./Documents/mySymfony/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136

For your information, I also did

symfony server:ca:install
0 Answers
Related