Shopify Uses MySQL as Their Database

Tadashi Shigeoka ·  Thu, May 7, 2020

I’ll introduce what I found when researching 「Shopify はデータベースに MySQL を採用している」 (“Shopify uses MySQL as their database”).

shopify

Background: Want to know about Shopify's database

When considering which DBMS to adopt for a web application that uses the Shopify API, I wondered 「Shopify はどの DBMS を採用しているのだろう?」 (“Which DBMS does Shopify use?”) and investigated.

Shopify Uses MySQL

The Shopify engineering blog states that they use MySQL.

MySQL Use Case

Shopify is also featured as a customer case study on the official MySQL website.

How to Export Shopify MySQL Data

It seems that external connections to Shopify’s MySQL are not possible in the first place.

Therefore, to migrate data stored in Shopify’s MySQL to your own MySQL, it seems you can only use one of the following methods:

  • Export to CSV and import into your own MySQL
  • Retrieve data via REST/GraphQL API and save to your own MySQL

That’s all from the Gemba, where I learned that while Shopify uses MySQL, you can’t connect to it externally, so it doesn’t really matter.