Fixed a mysql connection bug where we could not connect to the database and credentials were being ignored