MySQL connection simplified