The biggest problem with Redis compared to MySQL in this use case is persistence. You could technically run Redis using the different persistence options
https://redis.io/topics/persistence, but it is not going to be as safe as storing things in a RDBMS.