实现Basedb::connect