Fatal error Incorrect DB config, or could not connect to DB PDOException: could not find driver #3639
Answered
by
LinusYeung
LinusYeung
asked this question in
Q&A
-
Hi All, I am setting up the YOURLS, my environment is below
I have a simple PHP code to connect to the database, it works. |
Beta Was this translation helpful? Give feedback.
Answered by
LinusYeung
Oct 13, 2023
Replies: 1 comment
-
I fixed this error to add the PDO for mySQL driver |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LinusYeung
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I fixed this error to add the PDO for mySQL driver
RUN docker-php-ext-install pdo pdo_mysql