add msql support
add import and log prototype
add import cfg and log