localhost should be AMPDBHOST
Suggested fix for http://issues.freepbx.org/browse/FREEPBX-7275
localhost should be AMPDBHOST so it works when you move the database to another host.
Fixes for FREEPBX-7295 FREEPBX-7275