migrate rank from mongo to mysql

Signed-off-by: jiangchao1987 <jiangchao1987@gmail.com>