Updates mysql database connection settings