Use global variables with database connections

Follow