Update connector-manager.js

create the database if not exist when connecting.