1. Log in to redis database
[ root@localhost ~]# redis-cli -h 192.168.1.19
2. View redis configuration information
192.168.1.19:6379> info
2. According the path of config_file to set dump.rdb file storage path, or you can customize the path
192.168.1.19:6379> config set dir /storage/redis/
3. Save and exit
192.168.1.19:6379> save
192.168.1.19:6379> exit
4. Restart redis service
[ root@localhost ~]# service redis stop
[ root@localhost ~]# service redis start
Read More:
- Mongoose: How to delete all documents in collection
- Solve MySQL table can not query, modify, delete and other operations and appear stuck
- mac brew install mysql ‘/tmp/mysql.sock’ (2) [How to Solve]
- How to Fix MySQL ERROR 1130 (HY000): Host ‘XXXX’ is not allowed to connect to this MySQL server
- After installing mysql5.7 on centos7, an error 1045 (28000) is reported: access denied for user ‘root’ @’localhost ‘(using PAS)
- SQL Developer error: Unable to find a Java Virtual Machine solution
- MAC MYSQL Start Error: The server quit without updating PID
- [Solved] MYSQL Error: ERROR! MySQL server PID file could not be found!
- [Solved] ERROR 2002 (HY000): Can’t connect to local MySQL server through socket’/var/lib/mysql/mysql.sock’ (2)
- [Solved] ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
- Solve ERROR 1231 (42000): Variable’time_zone’ can’t
- [Solved] Access denied for user ‘root‘@‘localhost‘ (using password: YES)
- [Solved] mysqldump Command Error: Got error: 2002: “Can‘t connect to server on ‘127.0.0.1‘ (36)“ when trying to connect
- [Solved] Canal Error: Could not find first log file name in binary log index file
- [Solved] MYSQL Master-Slave slave I/o for channel, error_code 1045
- Mysql ERROR 1067: Invalid default value for ‘date’ [How to Solve]
- [Solved]Error 1054 (42s22): unknown column ‘password’ in ‘field list’ how to modify the password
- [Solved] mysqldump: Error: ‘Access denied; you need (at least one of) the PROCESS privilege(s) for this opera
- RECEIVED ERROR PACKET: ERRNO = 1236, SQLSTATE = HY000 ERRMSG = COULD NOT FIND FIRST LOG FILE NAME IN BINARY LOG INDEX FILE
- PLSQL environment variable configuration tnsnames.ora file path