Got MySQL connection errors worked out