stackstash

MySQL vs Postgres

MySQL and Postgres are free.

MySQL logo: The relational database behind a huge share of web apps and WordPress.
MySQL logo: The relational database behind a huge share of web apps and WordPress.

MySQL

Free

The relational database behind a huge share of web apps and WordPress.

Try it

Pros of MySQL

  • Easy to find hosting

  • Familiar SQL

  • Free Community edition

Cons of MySQL

  • Fewer advanced features than Postgres

  • Oracle steers the project

Open-source relational database. The usual pick when you want real SQL.

Try it

Pros of Postgres

  • Reliable relational database

  • JSON without leaving SQL

  • Free to run yourself

Cons of Postgres

  • You manage backups and upgrades

  • Heavier than SQLite for a tiny app