Add db element to the dbpool configuration.

Add db element to the dbpool configuration.