Im automating my workflow from local to hub

In local we are connectinf db connectore to connect the database but when i try to deploy in hub it shows error in the hub like the connecgtion is lost i cant able to edit also in community hub. could any one help me on this