allow passing db driver options

fixes #11718

see http://stackoverflow.com/a/21393661
Can you add a config.sample.php entry?