mysql2redis icon indicating copy to clipboard operation
mysql2redis copied to clipboard

A high performance mysql udf to sync the newly modified/inserted data from mysql to redis cache.

Results 7 mysql2redis issues
Sort by recently updated
recently updated
newest added
trafficstars

Check out the unstable branch to see the latest features: https://github.com/DGKSK8LIFE/redisql

i use this code, but list is not trimed: SET v_redis_ret=redis_command_v2('LTRIM', 'UserReadingRecord4', 0, 4);

BEGIN DECLARE done INT DEFAULT FALSE; DECLARE v_id INT; DECLARE v_ret INT; DECLARE cur CURSOR FOR SELECT u.user_id FROM kid_users u WHERE u.latest_login_time>=DATE(DATE_ADD(NOW(),INTERVAL -1 DAY)) AND EXISTS(SELECT * FROM kid_child_info...

base on MySQL-server-5.6.32-1.linux_glibc2.5.i386.rpm , when I make the mysql2redis,the below message showed: [root@localhost mysql2redis]# make gcc -Werror -O2 -g `/usr/bin/mysql_config --include` -I/usr/local/include -I/usr/local/apr/include -I./ -I. -fPIC -shared -rdynamic lib_mysqludf_redis.c -lhiredis...

every time mysql restart,i have to login mysql client and have manual exe redis_servers_set_v2("127.0.0.1", 6379); function everytime,can you tell me how could i exe this automatic?

when the free_resources is called, I think you want to close the pFile and redisFree sredisContext ?