Skip to content

u/Klimon

In this archive from Jul 2019 to Nov 2020

0
posts
12
comments
0
media
27
score

Top comments

I'm a full stack developer. I'm using mariadb for drupal/symfony development while my colleagues are using mysql (as a part of MAMP) and the production servers run debian/ubuntu + mysql.

From my experience, you never notice the differences between the 2 DBMS in question when using some CMS like Drupal or wordpress, even when you have to run some custom queries in your custom functionality module, the SQL generated by query builders never fails to run on mariadb.

However I have had some bad experiences with symfony. The SQL generated for migrations on mysql and Maria db was a bit different for some fancy newish fields of type JSON. I think mysql and mariadb have some different implementations for it. That caused the infitite loop of migration creation where I was able to create migrations over and over with the same queries for the same field, because it thought the field configuration in db was different.

Anyway that was fixed by specifying the db version in .env. Not 100% sure how that works, but it adjusted the SQL for those fields.

Also they have different lists of reserved words. Especially with mysql 8.0.2+ or something they added a shit ton of new reserved words. So be careful when creating fields named 'rank' for example.

So you can use it for real work, but if you have some CIA, NATO or NASA level projects and don't want your production deployment script to fail and you don't want or don't have the opportunity to test on preproduction, i would install mysql.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.