change db from mysql to redis