changed db connections for cannon and mysql