[mysql] porting zeus' article