Fix connection to use specified db number
Merge pull request #16 from nudge/master

Fix connection to use specified db number