use new API mysqli
Merge branch 'yhfu-hotfix-mysqli' into yhfu-master