From: Maury M. <mau...@gm...> - 2012-06-15 17:47:36
|
First off, my apologies for posting back outside the list, I didn't notice that I was sending to people's emails. Tim, your hint about SQLGetConnectAttr is working wonderfully. I've pushed this up the UI stack so that the selected catalog appears in main window for quick reference. Indeed, the selection of the catalog on login is a problem... I'm connecting to a public MySQL over the internet as anon, and it definitely is not setting a default catalog. This causes downstream problems when it tries to get the (non-existant) schema. With this new code I'm able to check for this case and return a nicely formatted error. A little bit of debugging output goes a long way... |