Otto@programming.dev to Selfhosted@lemmy.worldEnglish · 8 天前Stop using MySQL in 2026, it is not true open sourceoptimizedbyotto.comexternal-linkmessage-square103fedilinkarrow-up1355arrow-down110
arrow-up1345arrow-down1external-linkStop using MySQL in 2026, it is not true open sourceoptimizedbyotto.comOtto@programming.dev to Selfhosted@lemmy.worldEnglish · 8 天前message-square103fedilink
minus-squareBrilliantantTurd4361@sh.itjust.workslinkfedilinkEnglisharrow-up33·7 天前Why would anyone ever choose mysql over postgres?
minus-squareScrollone@feddit.itlinkfedilinkEnglisharrow-up11·7 天前MySQL has been the “default” choice for a long time for PHP programmers. I don’t know why.
minus-squarewhoisearth@lemmy.calinkfedilinkEnglisharrow-up9·edit-27 天前It used to be free with less of a barrier to entry than postgres
minus-squareAndres@social.ridetrans.itlinkfedilinkarrow-up1·7 天前@Scrollone @BrilliantantTurd4361 Because it used to be a lot faster than postgresql for smaller sites. MyISAM (https://en.wikipedia.org/wiki/MyISAM) was super lightweight, at the expense of the occasional corrupt database (oops). I don’t know how many new people are coming to PHP these days (as opposed to javascript/python/rust/etc), but certainly the older PHP coders grew up using mysql.
Why would anyone ever choose mysql over postgres?
MySQL has been the “default” choice for a long time for PHP programmers. I don’t know why.
It used to be free with less of a barrier to entry than postgres
Tutorials mostly.
LAMP indeed
We need LAPP . Stat!
@Scrollone @BrilliantantTurd4361 Because it used to be a lot faster than postgresql for smaller sites. MyISAM (https://en.wikipedia.org/wiki/MyISAM) was super lightweight, at the expense of the occasional corrupt database (oops).
I don’t know how many new people are coming to PHP these days (as opposed to javascript/python/rust/etc), but certainly the older PHP coders grew up using mysql.