Testing connecting to MySQL database