{"id":8612,"date":"2019-12-05T09:52:12","date_gmt":"2019-12-05T04:22:12","guid":{"rendered":"https:\/\/www.hiddentechies.com\/blog\/?p=8612"},"modified":"2020-10-09T19:08:18","modified_gmt":"2020-10-09T13:38:18","slug":"magento-2-use-database-media-storage","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/magento\/magento-2-use-database-media-storage\/","title":{"rendered":"How to Use a Database for Media Storage in Magento 2"},"content":{"rendered":"<p>In this article we&#8217;ll show you, how to Use a Database for Media Storage in Magento 2. Follow this simple guideline&#8230;<\/p>\n<p><strong>Step 1: Get Started<\/strong><\/p>\n<p>Login into Magento Admin Panel and from sidebar go to, Store &gt; Settings &gt; Configuration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8613\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67-1024x480.png\" alt=\"How to Use a Database for Media Storage in Magento 2\" width=\"676\" height=\"317\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67-1024x480.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67-300x141.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67-768x360.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67-800x375.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-1-67.png 1349w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p><strong>Step 2: Use a Database for Media Storage<\/strong><\/p>\n<p>Now from sidebar, Go to Advanced &gt; System.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8614\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65-1024x753.png\" alt=\"How to Use a Database for Media Storage in Magento 2\" width=\"676\" height=\"497\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65-1024x753.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65-300x221.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65-768x565.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65-800x588.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-2-65.png 1252w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>Now Expand Storage Configuration for Media.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8615\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63-1024x726.png\" alt=\"How to Use a Database for Media Storage in Magento 2\" width=\"676\" height=\"479\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63-1024x726.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63-300x213.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63-768x545.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63-800x568.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-3-63.png 1256w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>Then, do the following.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8616\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-4-58.png\" alt=\"Then, do the following.\" width=\"910\" height=\"372\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-4-58.png 910w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-4-58-300x123.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-4-58-768x314.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-4-58-800x327.png 800w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/p>\n<ul>\n<li>Media Storage: Set to Database.<\/li>\n<li>Select Media Database: Set to the database you want to use.<\/li>\n<li>Click Synchronize to transfer the existing media to the newly selected database.<\/li>\n<li>Enter the Environment Update Time in seconds.<\/li>\n<\/ul>\n<p>When complete, click on Save Config button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8617\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45-1024x102.png\" alt=\"How to Use a Database for Media Storage in Magento 2\" width=\"676\" height=\"67\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45-1024x102.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45-300x30.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45-768x77.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45-800x80.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/11\/Step-5-45.png 1253w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>Yeah Done! Let us know in the comment section below if you have any question. We are happy \ud83d\ude42 to help you!<\/p>\n<div class=\"angwp_12010 _ning_cont _ning_hidden _ning_outer _align_center responsive\" data-size=\"custom\" data-bid=\"12010\" data-aid=\"0\" style=\"max-width:800px; width:100%;height:inherit;\"><div class=\"_ning_label _left\" style=\"\"><\/div><div class=\"_ning_inner\" style=\"\"><a href=\"https:\/\/www.hiddentechies.com\/blog?_dnlink=12010&t=1775869505\" class=\"strack_cli _ning_link\" target=\"_blank\">&nbsp;<\/a><div class=\"_ning_elmt\"><img decoding=\"async\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/angwp\/items\/12010\/Banner-2.png\" \/><\/div><\/div><\/div><div class=\"clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>In this article we&#8217;ll show you, how to Use a Database for Media Storage in Magento 2. Follow this simple guideline&#8230; Step 1: Get Started Login into Magento Admin Panel and from sidebar go to, Store &gt; Settings &gt; Configuration. Step 2: Use a Database for Media Storage Now from sidebar, Go to Advanced &gt;&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/magento\/magento-2-use-database-media-storage\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":8662,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,181,59,2138],"tags":[729,9,10],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8612"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=8612"}],"version-history":[{"count":1,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8612\/revisions"}],"predecessor-version":[{"id":8618,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8612\/revisions\/8618"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/8662"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=8612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=8612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=8612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}