Discovering Error That Occured

Use this line after something doesn't work to discover what the problem was


	std::cout << "Database error: " << mysql_errno(mysql1) << " - " << mysql_error(mysql1) << std::endl;