How to Use a Database for Media Storage in Magento 2

In this article we’ll show you, how to Use a Database for Media Storage in Magento 2. Follow this simple guideline…

Step 1: Get Started

Login into Magento Admin Panel and from sidebar go to, Store > Settings > Configuration.

How to Use a Database for Media Storage in Magento 2

Step 2: Use a Database for Media Storage

Now from sidebar, Go to Advanced > System.

How to Use a Database for Media Storage in Magento 2

Now Expand Storage Configuration for Media.

How to Use a Database for Media Storage in Magento 2

Then, do the following.

Then, do the following.

  • Media Storage: Set to Database.
  • Select Media Database: Set to the database you want to use.
  • Click Synchronize to transfer the existing media to the newly selected database.
  • Enter the Environment Update Time in seconds.

When complete, click on Save Config button.

How to Use a Database for Media Storage in Magento 2

Yeah Done! Let us know in the comment section below if you have any question. We are happy 🙂 to help you!

1 Comment

  1. Very nice details, keep sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *