Help! hwo to connect to database?

i have installed asterisk successfully.after start the server, i run "database show " it is empty.i run “odbc show”, there are two records
but none is connected.running odbc connect to one of the dns ,the command has no effect.what’s wrong? how to config them?

There are at least 3 ways to connect to DB.
One of them - ODBC,
Second one - native connection to MySQL
third one - native connection to PostGreSQL
No body can gues what you are trying to do.

If you want connection to DB - use addons, which include record to DB.
If you will select MySQL - I can help you, but I don’t think you will need much help, after reading readme’s.