{"id":75,"date":"2009-06-11T15:24:30","date_gmt":"2009-06-11T21:24:30","guid":{"rendered":"http:\/\/www.curtisgibby.com\/blog\/75\/ups-worldship-crashes-caused-new-version-mysql-odbc-driver\/"},"modified":"2010-05-17T19:56:54","modified_gmt":"2010-05-18T01:56:54","slug":"ups-worldship-crashes-caused-new-version-mysql-odbc-driver","status":"publish","type":"post","link":"https:\/\/www.curtisgibby.com\/blog\/2009\/06\/ups-worldship-crashes-caused-new-version-mysql-odbc-driver\/","title":{"rendered":"UPS WorldShip crashes caused by new version of MySQL ODBC driver"},"content":{"rendered":"<p>At work, I&#8217;m in charge of getting information into and out of a big  database of orders. \u00a0 That includes linking the shipping information to  the UPS WorldShip program that our fulfillment team uses to  automatically buy UPS service.<\/p>\n<p>When the computer they&#8217;d been using out there for years just got too  terribly slow, we got a new machine from our corporate overlords and I  set up WorldShip and a ODBC connection to my MySQL database on it. \u00a0 But  every time I tried to set up a &#8220;import map&#8221; in WorldShip (the part that  tells it, &#8220;<em>This <\/em>field in the MySQL table is what you should use  for <em>that <\/em>field in the shipment&#8221;), the program would crash.<\/p>\n<p>I checked in the ODBC administrator that my connection was valid. \u00a0 I  reinstalled WorldShip several times. \u00a0 I talked to WorldShip tech support  for almost an hour. \u00a0 (The Tier 1 guy wasn&#8217;t a lot of help, but the Tier  2 woman seemed pretty helpful, checking a bunch of log files on my  computer that I would have had no idea how to find, let alone  interpret. \u00a0 She didn&#8217;t end up helping me much, but she seemed very  knowledgable as we went through the detective process together, and she  definitively told me that it was a problem with the ODBC driver.)<\/p>\n<p>I even went so far as to reinstall Windows on the new machine, to  ensure that there wasn&#8217;t some weird setting left on the computer from  our other shop. \u00a0 But every time I tried to make that map in WorldShip,  it was the same result: crash, crash, crash.<\/p>\n<p>After beating my head against a wall for three days, I finally found  the answer by going to another machine that was running WorldShip fine,  including the connection to my database. \u00a0 I checked the MySQL ODBC  driver there and it was an older version (<a title=\"MySQL ODBC driver  version 3.51\" href=\"http:\/\/dev.mysql.com\/downloads\/connector\/odbc\/3.51.html\" target=\"_blank\">3.51<\/a>). \u00a0 But for the new machine, I had naively  grabbed the latest version of the driver (<a title=\"MySQL ODBC driver  version 5.1\" href=\"http:\/\/dev.mysql.com\/downloads\/connector\/odbc\/5.1.html\" target=\"_blank\">5.1<\/a>). \u00a0 I tried getting rid of 5.1 and installing  3.51 on the new computer, and it worked the first time. \u00a0 Success!<\/p>\n<p>This entry is <em>not<\/em> intended to bore the daylights out of my  family and friends. \u00a0 Instead, I write it so that the next time some poor  sucker searches Google for &#8220;UPS WorldShip MySQL ODBC crash&#8221;, that  person finds something more useful than I did.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work, I&#8217;m in charge of getting information into and out of a big database of orders. \u00a0 That includes linking the shipping information to the UPS WorldShip program that our fulfillment team uses to automatically buy UPS service. When the computer they&#8217;d been using out there for years just got too terribly slow, we&hellip; <a class=\"more-link\" href=\"https:\/\/www.curtisgibby.com\/blog\/2009\/06\/ups-worldship-crashes-caused-new-version-mysql-odbc-driver\/\">Continue reading <span class=\"screen-reader-text\">UPS WorldShip crashes caused by new version of MySQL ODBC driver<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17],"tags":[38,156,19,37,159],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-programming","category-work","tag-mysql","tag-programming","tag-rocky-mountain-printing","tag-ups-worldship","tag-work","entry"],"_links":{"self":[{"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":2,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/posts\/75\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curtisgibby.com\/blog\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}