DB Connection issue #4

Open
opened 2022-10-24 00:30:51 +00:00 by 22u2 · 1 comment

Hi,

I am trying to use the docker image, by using portainer, and I have this error message:

PHP Fatal error:  Uncaught Exception: unsupported connection type  in /wait-for-db.php:17

Stack trace:
#0 /wait-for-db.php(20): connect()


I can't figure it out why.

For info: I have already a db instance running on port 3306, so I changed the db port in the "docker-compose"

ports:
	- "3310:3306"
Hi, I am trying to use the docker image, by using portainer, and I have this error message: ``` PHP Fatal error: Uncaught Exception: unsupported connection type in /wait-for-db.php:17  Stack trace: #0 /wait-for-db.php(20): connect()  ``` I can't figure it out why. For info: I have already a db instance running on port 3306, so I changed the db port in the "docker-compose" ``` ports: - "3310:3306" ```

Is the env_file parameter of all of your services pointed to your env file? What is the value of DB_CONNECTION in that env file?

Is the `env_file` parameter of all of your services pointed to your `env` file? What is the value of `DB_CONNECTION` in that `env` file?
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dockers/pixelfed#4
No description provided.