Tried to create a new DB in MySql, Now The GUI isn't working

Last night I was trying to install a CRM. I used Webmin to create a new DB user and a DB. I did not knowingly change any Freepbx files or db settings or DB users. I was unsuccessful last nght, I kept getting errors saying the installation software could not create the db. So I gave up. The CRM needed to have PHP DB Strings installed so I did that and only that. This AM when I went to check a setting for my system (FreePBX) I got this when I first connect to the URL:
Trace Back

/var/www/html/admin/libraries/db_connect.php:63 die_freepbx()
[0]: DB Error: connect failed

/var/www/html/admin/bootstrap.php:98 require_once()
[0]: /var/www/html/admin/libraries/db_connect.php

/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php

/var/www/html/index.php:18 include_once()
[0]: /etc/freepbx.conf

I looked at the password setting in freepbx.conf and there is one in there, but it appears to be different than the one I remember changing it to in the gui when I set the system up, is it changed within the system for security.

What to do now? The system appears to be operating. I have restarted Apache with no luck.

Any suggestions greatly appreciated!