add format for new msyqli
add chkconfig
update