add main function in mysql feed

Signed-off-by: Tony He <yangyi.he@stat.ucla.edu>