<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk" -->

---
title: MySQL vs PostgreSQL in 2023. | daily.dev
description: PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for decades. They each have different strengths and weaknesses that...
canonical: https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: MySQL vs PostgreSQL in 2023. | daily.dev
og:description: PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for decades. They each have different strengths and weaknesses that...
og:url: https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk
og:image: https://api.daily.dev/og/posts/YUStL36rK.png
og:image:alt: MySQL vs PostgreSQL in 2023.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# MySQL vs PostgreSQL in 2023.

**[DBconvert](https://daily.dev/sources/dbconvert)** · 8 min read · 73 upvotes · 7 comments

## Summary

PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for decades. They each have different strengths and weaknesses that make one more suitable for certain use cases than the other. This article will compare them to aid in making an informed decision in 2023.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dbconvert.com/blog/mysql-vs-postgresql/>

## Community discussion

Top comments from developers on daily.dev.

**@aadarsh805** · 2 upvotes

> I prefer postgre

**@jacksikoshi** · 1 upvotes

> MySQL the best for all times.. Great article.

**@ayyoub\_kasmi** · 1 upvotes

> Exactly what I was looking for! well written article!

**@tyroroto** · 0 upvotes

> now  going with MariaDB.

**@nicobarroso** · 0 upvotes

> Interesting post

---

Tags: [#performance](https://daily.dev/tags/performance), [#open-source](https://daily.dev/tags/open-source), [#database](https://daily.dev/tags/database), [#sql](https://daily.dev/tags/sql), [#postgresql](https://daily.dev/tags/postgresql), [#mysql](https://daily.dev/tags/mysql)

[View this post on daily.dev](https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"MySQL vs PostgreSQL in 2023.","url":"https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk"},"datePublished":"2023-02-01T11:04:46.143Z","dateModified":"2023-02-01T11:04:46.032Z","description":"PostgreSQL and MySQL are both reliable, secure and scalable databases that have been around for decades. They each have different strengths and weaknesses that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3d6d22ab5409b0a9b8d8ba5e3af97872","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3d6d22ab5409b0a9b8d8ba5e3af97872","isAccessibleForFree":true,"articleSection":"DBconvert","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DBconvert","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/31f19400f74743dc93a89209da48a5aa","url":"https://daily.dev/sources/dbconvert"},"commentCount":7,"discussionUrl":"https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":73},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":7}],"keywords":"performance,open-source,database,sql,postgresql,mysql","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DBconvert","item":"https://daily.dev/sources/dbconvert"},{"@type":"ListItem","position":3,"name":"MySQL vs PostgreSQL in 2023."}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/mysql-vs-postgresql-in-2023--yustl36rk","comment":[{"@type":"Comment","text":"I prefer postgre","datePublished":"2023-02-03T02:40:29.790Z","url":"https://daily.dev/posts/YUStL36rK#c-3-ICPBWWC","author":{"@type":"Person","name":"Aadarsh Thakur","url":"https://daily.dev/aadarsh805","image":"https://media.daily.dev/image/upload/v1675328969/avatars/avatar_AYeSluCiDiNTRMEqbVOsJ.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"MySQL the best for all times… Great article.","datePublished":"2023-02-13T14:46:21.932Z","url":"https://daily.dev/posts/YUStL36rK#c-p-jSY-SX0","author":{"@type":"Person","name":"V P","url":"https://daily.dev/jacksikoshi","image":"https://lh3.googleusercontent.com/a/AEdFTp7iMzJ4JCe4hFH9WVBKcZ5zhkgL7tS6Fh3qlckT=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Exactly what I was looking for! well written article!","datePublished":"2023-02-19T21:22:23.485Z","url":"https://daily.dev/posts/YUStL36rK#c-EfP4NBlC4","author":{"@type":"Person","name":"Ayyoub Kasmi","url":"https://daily.dev/ayyoub_kasmi","image":"https://lh3.googleusercontent.com/a/AEdFTp76cD_IJreqCnYLhpV3gQ87JawNwCeONYnl5qjp=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"now  going with MariaDB.","datePublished":"2023-03-05T15:13:58.748Z","url":"https://daily.dev/posts/YUStL36rK#c-HfLh0lHu3","author":{"@type":"Person","name":"Kawin Sirikhanarat","url":"https://daily.dev/tyroroto","image":"https://media.daily.dev/image/upload/v1678098705/avatars/avatar_D0yDnoxKOP6qHqYUm51pF.jpg"}},{"@type":"Comment","text":"Interesting post","datePublished":"2023-03-06T14:30:10.215Z","url":"https://daily.dev/posts/YUStL36rK#c-bDHkaKEOS","author":{"@type":"Person","name":"Nicolas Barroso","url":"https://daily.dev/nicobarroso","image":"https://lh3.googleusercontent.com/a/AGNmyxYuBTTY12qQU2-OKneNXM2Azvip7KV-fGf9zHWC=s96-c"}}]}
```

