allow passing db driver options

fixes #11718

see http://stackoverflow.com/a/21393661