数据库的简单封装与初始化。

Signed-off-by: CyberZHG <443442708@qq.com>