Fix passing db connection name to methods of DB class in dbutil

fc8111e is small commit that is runned in my application.
d6febcf is large commit. This looks like to be corrected by following other. But it have not been runned even once.

Please choose to take only fc8111e or both.
You can take only fc8111e or both.

close #1767