Try / catch MySQL connection