We were seriously hit by Hurricane Irma. Solar Panels still hanging 50 food up in a tree. Generator and UPS destroyed. Power still down. Working on rented generator.
When I restarted the PBX, Asterisk came on fine, but FreePBX gave me an error message about a corrupted database.
After research I am trying to repair as root with
mysqlcheck --repair --all-databases
and get
mysqlcheck: Got error: 1045: Access denied for user ‘root’@‘localhost’ (using password: Yes) when trying to connect
So I tried to do it with a password, but am not able to get it to work.
I have tried all kinds of user/password combinations.
root / admin etc.
I saw in one error message, that FreePBX seems to connect to Asterisk with admin and the password that I set when setting up the system. I had meanwhile changed the password.
Hi,
Do you have a backup from module backup ? You can try
to restore it localy and find in conf the user mysql used by freepbx and the hash of the password.
Regards
restore your backup if you have nothing to loose.
Install a new configuration with freepbx (same version, and same version of module backup), and use the module backup/restore to restore your backup.
Yes, but install the same version of the module backup.
You can use a virtual machine to restore your backup, I made this before use in production my freepbx setup for my customers.