Problems with CDR when upgrading from 11 to 12


Just tried an upgrade from 11 to 12 but when trying to connect to /admin I am presented with this:


SQLSTATE[HY000] [2005] Unknown MySQL server host ‘’ (1)

SQLSTATE[HY000] [2005] Unknown MySQL server host ‘’ (1)

Trace Back

/var/www/html/admin/libraries/BMO/Database.class.php:64 PDO->__construct()
[0]: mysql:host=;dbname=asteriskcdrdb
[1]: asteriskuser
[2]: password

/var/www/html/admin/modules/cdr/Cdr.class.php:29 Database->__construct()
[0]: mysql:host=;dbname=asteriskcdrdb
[1]: asteriskuser
[2]: password

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr->__construct()

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:36 Self_Helper->autoLoad()
[0]: Cdr

/var/www/html/admin/libraries/BMO/Hooks.class.php:163 Self_Helper->__get()
[0]: Cdr

/var/www/html/admin/libraries/BMO/Hooks.class.php:37 Hooks->preloadBMOModules()

/var/www/html/admin/libraries/BMO/Hooks.class.php:26 Hooks->updateBMOHooks()

/var/www/html/admin/libraries/BMO/GuiHooks.class.php:194 Hooks->getAllHooks()

/var/www/html/admin/config.php:312 GuiHooks->doConfigPageInits()
[0]: index

My PBX was running fine before the change (CDR as well).
Just to confirm, MySQL is running fine, user and password are correct as well.
Is there anything I am missing?


Ok, I managed to “fix” that, I just removed 3306 from the CRDB port from the freepbx_settings on MySQL and the installation went through.
Now, the problem is that it’s showing 2.10 for the framework and I can’t upgrade it at all.