Otto@programming.dev to Selfhosted@lemmy.worldEnglish · 2 days agoStop using MySQL in 2026, it is not true open sourceoptimizedbyotto.comexternal-linkmessage-square95fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkStop using MySQL in 2026, it is not true open sourceoptimizedbyotto.comOtto@programming.dev to Selfhosted@lemmy.worldEnglish · 2 days agomessage-square95fedilink
minus-squareBrilliantantTurd4361@sh.itjust.workslinkfedilinkEnglisharrow-up0·1 day agoWhy would anyone ever choose mysql over postgres?
minus-squareScrollone@feddit.itlinkfedilinkEnglisharrow-up0·1 day agoMySQL has been the “default” choice for a long time for PHP programmers. I don’t know why.
minus-squarewhoisearth@lemmy.calinkfedilinkEnglisharrow-up0·edit-220 hours agoIt used to be free with less of a barrier to entry than postgres
minus-squareAndres@social.ridetrans.itlinkfedilinkarrow-up0·1 day ago@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.
@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.
LAMP indeed
We need LAPP . Stat!