Hello,
Using http://upgrades.freepbxdistro.org/stable/6.12.65/upgrade-5.211.65-to-6.12.65-20.sh I updated from 5.211.65-21 to the 6.12.65-20. Since the update I’ve been unable to access the CDR Reports instead I received
FATAL ERROR SQLSTATE[HY000][2005] Unknown MySQL server host ‘localhost:3306’ (1)
Trace Back
/var/www/html/admin/libraries/BMO/Database.class.php:70->_construct()
0: mysql:host=localhost:3306;dbname=asteriskcdrdp
1:freepbxuser
[2]: (password that works logging in from commandline, mysql -u freepbx -p)
/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database->_construct()
same as above etc.
I’ve verified /etc/hosts has localhost and freepbxuser has access to asteriskcdrdb.
I thought uninstalling and reinstalling the CDR Reports would help, but it will not install again. After I confirm the module install the popup status just has,
Please wait while module actions are performed
Installing cdr
FATAL ERROR
SQLSTATE[HY000] [2005] Unknown MySQL server host ‘localhost:3306’ (1)
SQLSTATE[HY000] [2005] Unknown MySQL server host ‘localhost:3306’ (1)
Trace Back/var/www/html/admin/libraries/BMO/Database.class.php:70 PDO->__construct()
[2]: (freepbxuser password)
/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[2]: (freepbxuser 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:60 Self_Helper->autoLoad()
/var/www/html/admin/libraries/modulefunctions.class.php:2251 Self_Helper->injectClass()
/var/www/html/admin/libraries/modulefunctions.class.php:1821 module_functions->_runscripts()
0: cdr
1: install
[2]:
/var/www/html/admin/page.modules.php:283 module_functions->install()
0: cdr
/var/www/html/admin/config.php:341 include()
0: /var/www/html/admin/page.modules.php
I have verified MYSQL is running and listening on 3306. Not sure what else to do except go to my archive created prior to doing this. But then I my EndPoint manager is no longer licensed cause I’m using a cloned VM of my live machine.
Thought I was doing this right using the script to upgrade. Anyone else had this problem?
Thank you,