issue #23086: unify build and create database from source