Testing mysql connection