console: expect database configuration as second argument