How to import dumb.rdb file on redis and export to mysql database
P粉555696738
2023-08-25 11:36:38
<p>RDB files of REDIS servers imported from other servers. I have installed REDIS on my local machine and am trying to import it to my local REDIS server. Mainly I want to store all REDIS data in mysql database. Is there any direct procedure to import DUMB.RBD file into mysql database. Is there any other process to import REDIS data into CSV format. Any help would be very helpful to me. </p>
Redis is a schema-less key-value NOSQL database. There aren't any built-in solutions for moving data from Redis to a SQL database or CSV file. But you can write some code yourself to do this:
Get answers with Node js and Redis.
For the import, I used the following command after shutting down the redis server
Use Nodejs to parse Redis data and connect to mysql at the same time.