chasing a dumb bug, mysql dsn string uses db=x, not database=x, but, you
don't get the error when you 'connect' to the database, you get the
erroe when you run your first query. wasted 2 hours.