Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Stop using MySQL in 2026, it is not true open source

⁨353⁩ ⁨likes⁩

Submitted ⁨⁨2⁩ ⁨weeks⁩ ago⁩ by ⁨otto@programming.dev⁩ to ⁨selfhosted@lemmy.world⁩

https://optimizedbyotto.com/post/reasons-to-stop-using-mysql/

source

Comments

Sort:hotnewtop
  • JoMiran@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

    MySQL belongs to Oracle. That’s literally all you need to.know in order to avoid it.

    Image

    source
    • FlowerFan@piefed.blahaj.zone ⁨2⁩ ⁨weeks⁩ ago

      how did the joke go? “one rich asshole called larry ellison”?

      source
      • ijhoo@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

        what’s the joke part?

        source
        • -> View More Comments
    • anomnom@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

      Isn’t that the point of Postgresql. It’s basically an open source version of MySQL.

      I’m sure there are some proprietary nonsense that MySQL has, but I’ve never needed it in 17 years

      source
      • sobchak@programming.dev ⁨2⁩ ⁨weeks⁩ ago

        Postgres is basically an open source version of Oracle DB. Much more featureful than MySQL. I believe Oracle bought MySQL just to kill it.

        source
        • -> View More Comments
      • Jajcus@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

        That is an insult to PostgreSQL. PostgreSQL was fully featured relational database even before it implemented SQL. It started much earlier tha MySQL.

        And MySQL didn’t have proper transactions or data integrity constraints (including foreign keys) for long time, while calling itself an ‘SQL database’.

        source
        • -> View More Comments
      • Auli@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        MariaDB

        source
    • Psythik@lemmy.world ⁨2⁩ ⁨weeks⁩ ago
      [deleted]
      source
      • JoMiran@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

        Hatred of Oracle predates “cancelling” by decades. Oracle is and has always been one of, if not the most disgusting and vicious companies in tech. They kill everything they touch.

        If you need a political component, then Oracle = Larry Ellison, but Oracle hate predates and supercedes the American political slide into fascism.

        source
        • -> View More Comments
      • non_burglar@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        When they bought Sun, they:

        • killed Solaris, effectively
        • tried to kill zfs too
        • nearly killed mysql with licensing audits
        • became borderline evil with licensing practices
        • acted like complete assholes in court, holding up cases for years
        source
        • -> View More Comments
      • iturnedintoanewt@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        news.ycombinator.com/item?id=34249580

        source
        • -> View More Comments
      • forrgott@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        Why would you keep track? Can’t form your own opinions?!

        And what the fuck hasn’t Oracle done? Like, seriously, they’ve been a known bad actor for literally decades now…

        source
        • -> View More Comments
      • jubilationtcornpone@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

        “Lets use Oracle DB for that.”

        Statements made by the utterly deranged.

        source
      • fizzle@quokk.au ⁨2⁩ ⁨weeks⁩ ago

        I don’t know the actual reason, but I personally get a bad vibe every time I see the logo because usually it means I’m trying to install or fix some java bullshit, which never goes well.

        source
        • -> View More Comments
      • 0x0@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        The hell did Oracle do?

        Have you been living under a rock? Think 2010 for starters…

        source
      • Auli@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        People have hated Oracle for decades.

        source
  • slacktoid@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

    Stop using mysql, you have postgres.

    source
    • possiblylinux127@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      And mariaSQL

      source
      • call_me_xale@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        Hell, even SQLite is good enough for most small projects.

        source
        • -> View More Comments
      • immobile7801@piefed.social ⁨2⁩ ⁨weeks⁩ ago

        FWIW mariadb was bought by a private equity firm in 2024

        source
        • -> View More Comments
  • herseycokguzelolacak@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

    Didn’t Postgresql effectively win the database wars? Why use anything else?

    source
    • dogs0n@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

      Postgres or sqlite are the only ones I ever consider nowadays.

      source
      • Takios@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

        If only the upgrade process wasn’t so annoying with postgres…

        source
        • -> View More Comments
      • Hawk@lemmynsfw.com ⁨2⁩ ⁨weeks⁩ ago

        See also duckdb and clickhouse for OLAP of course.

        source
  • melfie@lemy.lol ⁨2⁩ ⁨weeks⁩ ago

    Oracle sees itself as an activist organization, one whose goal is the advancement of the Israeli colonization project. Safra Catz, the company’s Israeli-American CEO, bluntly explained that any employees uncomfortable with supporting a genocide should simply quit. “We are not flexible regarding our mission, and our commitment to Israel is second to none”

    Hmm, MySQL or PostgreSQL—how will we ever decide which one to pick.

    source
    • skisnow@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

      wow, I didn’t need any more reasons not to support Oracle but thanks anyway

      source
  • MrSoup@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

    MariaDB >>>

    source
    • YurkshireLad@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

      Who are “they”?

      We use MariaDB at work but I don’t know why it was originally chosen over PostgreSQL, as that was before my time.

      source
      • MrSoup@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        Blogs and forums back then when I looked it up.
        Can’t remember exactly where (since it’s been a long time ago), but I’m sure more than someone claimed it.

        source
  • Shimitar@downonthestreet.eu ⁨2⁩ ⁨weeks⁩ ago

    If you don’t want to use postgresql for some obscure reason use MariaDB real open source MySQL drop in replacement.

    source
  • schnurrito@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

    Are there real advantages to using either MySQL or MariaDB instead of PostgreSQL?

    source
    • jubilationtcornpone@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

      No. But there are a number of advantages of using PostgreSQL over the others.

      source
    • Rikj000@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

      Yeah,
      I did a speed test comparison between Oracle MySQL and MariaDB MySQL,
      MariaDB is about 10 times faster.

      FYI: When Oracle bought MySQL a lot of developers left and created MariaDB, so the brains behind the project moved, and in the meantime Oracle did a great job of fucking things up.

      source
      • schnurrito@discuss.tchncs.de ⁨2⁩ ⁨weeks⁩ ago

        That’s not what I asked. I asked about a comparison of both of them to PostgreSQL.

        source
        • -> View More Comments
    • roguelazer@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      MySQL often has moderately higher performance (particularly for workloads where you want your data clustered by PK, which is how InnoDB is natively structured) and its replication system is much more flexible than either of PostgreSQL’s.

      source
      • msage@programming.dev ⁨2⁩ ⁨weeks⁩ ago

        Is it true?

        Postgres with correct fillfactor, it doesn’t create new pages and works very fast.

        Replication in MySQL always sucked ass, only received synchronous replication in some new edition, and that also didn’t sound great.

        Postgres has logstream and logical replication, both of them can be set to various levels of synchronicity, and logical replication is configurable at least as well as MySQL is in terms of which data is sent.

        source
    • illusionist@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

      Depends on the task but for general usage there is no big difference. You would choose one over the other if you need one for work.

      source
    • kumi@feddit.online ⁨2⁩ ⁨weeks⁩ ago

      Operating and securing Postgres is a steeper learning curve.

      source
      • msage@programming.dev ⁨2⁩ ⁨weeks⁩ ago

        Is Maria that much better than MySQL?

        Cause that one is absolute shit, very difficult to maintain, and requires lots of config changes and even replicas can disconnect when something’s not 100% ok.

        I will take Postgres over any other DB any day of the week.

        source
        • -> View More Comments
    • 0_o7@lemmy.dbzer0.com ⁨2⁩ ⁨weeks⁩ ago

      If you’re constrained by resources (CPU/RAM).

      There’s a reason most web hosts usually have mariadb and not postgres.

      source
    • Wispy2891@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Maybe that once every 2 years when you upgrade to major version it does it automatically? You save 15 mins every 2 years?

      source
  • 800XL@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    What year is this? No one should be using Mysql since MariaDB came about.

    source
  • BrilliantantTurd4361@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

    Why would anyone ever choose mysql over postgres?

    source
    • Scrollone@feddit.it ⁨2⁩ ⁨weeks⁩ ago

      MySQL has been the “default” choice for a long time for PHP programmers. I don’t know why.

      source
      • Evotech@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

        LAMP indeed

        source
        • -> View More Comments
      • whoisearth@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

        It used to be free with less of a barrier to entry than poatgrea.

        source
      • msage@programming.dev ⁨2⁩ ⁨weeks⁩ ago

        Tutorials mostly.

        source
  • 0x0@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

    No one should be using MySQL since 2010.

    source
  • UnknownMp@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    Perhaps MariaDB is a better choice.

    source
    • unknownmp@mastodon.social ⁨2⁩ ⁨weeks⁩ ago

      @UnknownMp@lemmy.world @otto 🤔

      source
  • ikidd@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    What rock do you live under if you’re using MySQL over MariaDB?

    source
    • lechekaflan@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Older people about to return to programming, and most of the online tutorials they have are about 20 years old, having no idea an alternative exists.

      source
  • dan@upvote.au ⁨2⁩ ⁨weeks⁩ ago

    MariaDB is not always a drop-in replacement. There’s several features that MySQL has that MariaDB doesn’t, especially related to the optimizer (for some types of queries, MySQL will give you a more optimized execution plan compared to MariaDB). It’s also missing some newer data types, like JSON (which indexes the individual fields in JSON objects to make filtering on them more efficient).

    MariaDB and MySQL are both fine. Even though MySQL doesn’t receive as much development any more, it doesn’t really need it. It works fine. If you want a better database system, switch to PostgreSQL, not MariaDB.

    source
  • possiblylinux127@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

    That’s why I moved to MSSQL

    /s

    source
  • Grandwolf319@sh.itjust.works ⁨2⁩ ⁨weeks⁩ ago

    But but but, it has the word “my” in it

    /s

    source
    • folekaule@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Both MySQL and MariaDb are named after the developer’s daughters.

      source
  • androidul@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    when is Oracle gonna go Broadcom mode on MySQL, still waiting for the moment 🍿

    source
  • bored_boar_onboard@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    Clearly you can’t use MySQL because it isn’t webscale.

    source
  • fizzle@quokk.au ⁨2⁩ ⁨weeks⁩ ago

    I didn’t know this was ever in question?

    Also stop calling it “my sequel”

    source
    • TrickDacy@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      stop calling it “my sequel”

      Why?

      source
      • frongt@lemmy.zip ⁨2⁩ ⁨weeks⁩ ago

        Sequel is Microsoft. S-Q-L is Linux.

        source
        • -> View More Comments
  • SneakyWeasel@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

    Wamp anyone? (I think thats what its called, im at work and cant check my pc) Or am i the odd one out.

    source
  • ianhclark510@lemmy.blahaj.zone ⁨2⁩ ⁨weeks⁩ ago

    Apache Phoenix: allow me to introduce myself

    source
    • AnUnusualRelic@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

      Who?

      source
      • ianhclark510@lemmy.blahaj.zone ⁨2⁩ ⁨weeks⁩ ago

        Apache Phoenix

        source
        • -> View More Comments
  • otto@programming.dev ⁨2⁩ ⁨weeks⁩ ago

    In case you are Czech, there is a translation at root.cz/…/prestante-uz-pouzivat-mysql-neni-to-sku…

    Glad to see more translations show up!

    source
  • GreenKnight23@lemmy.world ⁨2⁩ ⁨weeks⁩ ago

    wank bank

    source
    • tacosanonymous@mander.xyz ⁨2⁩ ⁨weeks⁩ ago

      Dude. You never finish.

      source