U
U
uzi_no_uzi2021-07-01 15:48:47
PHP
uzi_no_uzi, 2021-07-01 15:48:47

Uncaught PDOException: Could not connect to database how to fix?

I was given a project. I'm trying to open it myself and I'm facing a problem (screenshot).
60ddb8bb65ea0149670525.png

In Google they write that the problem is with the drivers, but they are connected.

60ddb93744b03937692061.png

To work with the database, the project uses RedBean

. I've already tried a bunch of everything, but no movements at all. Maybe somewhere you need to specify some other port or something like that. I'm running the project through OpenServer. With all this, the project is 100% working. because the person who threw it to me all worked. The problem is somewhere on my side.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question