cross-posted from: https://lemmy.ml/post/1374138

I’m thinking about setting up my own (bare metal) Lemmy instance to play around with it, but it seems to require PostgreSQL. Everything else on my system uses MySQL, and I don’t really want to run 2 separate database services. I guess I would also be fine with using an SQLite file, but that’s not ideal.

Has anyone managed to set up a Lemmy instance with MySQL instead of PostgreSQL? Are you aware of any PostgreSQL to MySQL or SQLite compatibility layers?

  • MentalEdge@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    They are not really interchangeable… They are intended for different use cases.

    And I’m pretty ready to bet that using any kind of bodged together compatibility-anything would be a lot more complex than just setting up postgres to begin with.

    I did for my matrix instance, and its bridges, it wasn’t complicated.