add mysql support
add encrypt key