Installation FreePBX with remote database problem

Hi,

I have installed FreePBX from sources on Linux with option --dbhost=10.0.0.3.
All was installed, but after logging to AMP message appeared:

Unable to connect to CDR Database using string:mysql:host=localhost;dbname=asteriskcdrdb,pdcasteriskuser,mypassword

How to solve problem ?
Why freepbx tried to “localhost” ?

thank you.

FreePBX uses the asterisk database. Asterisk uses the asteriskcdr database you need to setup your cdr connections seperately.