You can configure your database connection as part of the Crowd Setup Wizard. It will make things easier if you have created the database and deployed the database driver before you start.
Select the page corresponding to your database, for help on setting up an external database: