Skip to content

Can't connect to MariaDB #4

@Z0pyrus

Description

@Z0pyrus

I've setup photon-reddit on my local system and tried to connect to my mariadb server instance with these env.:

DB_HOST=192.168.168.26
DB_USER=Secr3t
DB_PW=Secr3t
DB_PORT=3306
DB_DB=Secr3t

The mariaDB is running in Docker on given host with the same vars.
I can connect to the Database using cli with mariadb --host=192.168.168.26 -u Secr3t -p.
But when I start photon-reddit it says Couldn't connect to DB.

This shows up in mariaDB logs while trying to connect: [Warning] Aborted connection 7 to db: 'Secr3t' user: 'Secr3t' host: '172.28.0.1' (Got an error reading communication packets)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions