add db service provider, add db config base