{"id":16596,"date":"2024-03-18T08:43:38","date_gmt":"2024-03-18T08:43:38","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=16596"},"modified":"2026-09-21T14:54:24","modified_gmt":"2026-09-21T14:54:24","slug":"transfer-data-from-redis-to-mysql-in-a-few-clicks","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/redisdatastudio\/transfer-data-from-redis-to-mysql-in-a-few-clicks.html","title":{"rendered":"Transfer data from Redis to MySQL in a few clicks"},"content":{"rendered":"<p>Want to transfer data from <a href=\"https:\/\/redis.com\">Redis<\/a> to <a href=\"https:\/\/www.mysql.com\/\">MySQL<\/a> without programming?<\/p>\n<p>Using <a href=\"https:\/\/www.withdata.com\/redis-data-studio\/\">RedisDataStudio<\/a>, a native GUI tool, you can transfer data from Redis to MySQL (MariaDB, Percona) easily and fast, just a few mouse clicks!<\/p>\n<p>Support Windows, Linux, macOS.<\/p>\n<h2>Transfer data from Redis To MySQL (MariaDB, Percona)<\/h2>\n<p>Log in to Redis.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/redis_logon.png\" alt=\"Move data from Redis To MySQL (MariaDB, Percona) - log in to Redis\" width=\"405\" height=\"250\" style=\"max-width:100%;height:auto;display:block;\" \/><\/p>\n<p>Log in to MySQL database.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/logon\/choose_mysql_logon.png\" alt=\"Transfer data from Redis To MySQL (MariaDB, Percona) - Choose MySQL and logon\" width=\"430\" height=\"442\" style=\"max-width:100%;height:auto;display:block;\" \/><\/p>\n<p><strong>1<\/strong>. You can transfer data from a Redis hash key to MySQL (MariaDB, Percona) table.<\/p>\n<p>For example, a redis hash key &#8220;users&#8221;, store each record as a JSON string.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Key<\/td>\n<td>Field<\/td>\n<td>Value<\/td>\n<\/tr>\n<tr>\n<td>users<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>1<\/td>\n<td>{&#8220;name&#8221;:&#8221;Fred&#8221;,&#8221;age&#8221;:25}<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>2<\/td>\n<td>{&#8220;name&#8221;:&#8221;Tom&#8221;,&#8221;age&#8221;:28}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>2<\/strong>. You can transfer data from Redis hash keys to MySQL (MariaDB, Percona) table.<\/p>\n<p>For example, 2 redis hash keys &#8220;user:1&#8221; and &#8220;user:2&#8221;, each store a record, and each field of the record as a Redis hash key&#8217;s field.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Key<\/td>\n<td>Field<\/td>\n<td>Value<\/td>\n<\/tr>\n<tr>\n<td>user:1<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>name<\/td>\n<td>Fred<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>age<\/td>\n<td>25<\/td>\n<\/tr>\n<tr>\n<td>user:2<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>name<\/td>\n<td>Tom<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>age<\/td>\n<td>28<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>3<\/strong>. You can transfer data from Redis string keys to MySQL (MariaDB, Percona) table.<\/p>\n<p>For example, 2 redis string keys &#8220;user:1&#8221; and &#8220;user:2&#8221;, each store record as JSON-encoded string.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Key<\/td>\n<td>Value<\/td>\n<\/tr>\n<tr>\n<td>user:1<\/td>\n<td>{&#8220;name&#8221;:&#8221;Fred&#8221;,&#8221;age&#8221;:25}<\/td>\n<\/tr>\n<tr>\n<td>user:2<\/td>\n<td>{&#8220;name&#8221;:&#8221;Tom&#8221;,&#8221;age&#8221;:28}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>All above 3 cases, data will store in a MySQL (MariaDB, Percona) table &#8220;users&#8221;.<\/p>\n<table>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>name<\/td>\n<td>age<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>Fred<\/td>\n<td>25<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Tom<\/td>\n<td>28<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Transfer data from Redis to MySQL (MariaDB, Percona).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/temp\/redis_to_db.png\" alt=\"Convert data from Redis To MySQL (MariaDB, Percona) - transfer\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p>Here you can <a href=\"https:\/\/www.withdata.com\/redis-data-studio\/download.html\">Download RedisDataStudio<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to transfer data from Redis to MySQL without programming? Using RedisDataStudio, a native GUI tool, you can transfer data from Redis to MySQL (MariaDB, Percona) easily and fast, just a few mouse clicks! Support Windows, Linux, macOS. Transfer data from Redis To MySQL (MariaDB, Percona) Log in to Redis. Log in to MySQL database. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3136],"tags":[3134],"class_list":["post-16596","post","type-post","status-publish","format-standard","hentry","category-redisdatastudio","tag-redis"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/16596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=16596"}],"version-history":[{"count":2,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/16596\/revisions"}],"predecessor-version":[{"id":45679,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/16596\/revisions\/45679"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=16596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=16596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=16596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}