Hello!
Just tried an upgrade from 11 to 12 but when trying to connect to /admin I am presented with this:
FATAL ERRORSQLSTATE[HY000] [2005] Unknown MySQL server host ‘127.0.0.1:3306’ (1)
SQLSTATE[HY000] [2005] Unknown MySQL server host ‘127.0.0.1:3306’ (1)
Trace Back
/var/www/html/admin/libraries/BMO/Database.class.php:64 PDO->__construct()
[0]: mysql:host=127.0.0.1:3306;dbname=asteriskcdrdb
[1]: asteriskuser
[2]: password
/var/www/html/admin/modules/cdr/Cdr.class.php:29 Database->__construct()
[0]: mysql:host=127.0.0.1:3306;dbname=asteriskcdrdb
[1]: asteriskuser
[2]: password
/var/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr->__construct()
[0]:
/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
[1]:
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?
Thanks,
XH