innovot Posted August 21, 2015 Share Posted August 21, 2015 (edited) Hello: have attempted to upgrade from 5.3.14 -> 6.0.2 but unfortunately it failed. Once we had extracted the ZIP (full), copied the admin files to their custom path, and set permissions followed by going to the site we received "SQLSTATE[HY000] [2002] Connection refused". Thought this may be due to using mysql port shift but even with a NAT rule in place and removing the $db_port option it still failed. Have recovered from backup and all is working again. Are we missing any modules ? atomic-php56-php-fpm-5.6.12-28.el7.art.x86_64 atomic-php56-php-xml-5.6.12-28.el7.art.x86_64 atomic-php56-php-gd-5.6.12-28.el7.art.x86_64 atomic-php56-php-mbstring-5.6.12-28.el7.art.x86_64 atomic-php56-php-common-5.6.12-28.el7.art.x86_64 atomic-php56-php-pdo-5.6.12-28.el7.art.x86_64 atomic-php56-php-cli-5.6.12-28.el7.art.x86_64 atomic-php56-php-5.6.12-28.el7.art.x86_64 atomic-php56-php-mysqlnd-5.6.12-28.el7.art.x86_64 atomic-php56-php-opcache-5.6.12-28.el7.art.x86_64 atomic-php56-php-soap-5.6.12-28.el7.art.x86_64 atomic-php56-php-mcrypt-5.6.12-28.el7.art.x86_64 PHP 5.6.12 (cli) (built: Aug 10 2015 13:41:03) Copyright © 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright © 1998-2015 Zend Technologies with the ionCube PHP Loader v4.7.3, Copyright © 2002-2014, by ionCube Ltd., and with Zend OPcache v7.0.6-dev, Copyright © 1999-2015, by Zend Technologies Thank you. Edited August 21, 2015 by innovot 0 Quote Link to comment Share on other sites More sharing options...
innovot Posted August 21, 2015 Author Share Posted August 21, 2015 Hope ticket XEE-211549 gets a look and that am able to pass on the resolution! From what I can see all pre-requisites for v6 exist. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 22, 2015 Share Posted August 22, 2015 if you have the time, might be worth getting a free developers license from WHMCS - that would allow you to have a separate installation to test v6 on your server. if you're in a rush, you could always do a test v6 installation elsewhere on your server (perhaps using a copy of your current db) - you may need to reissue your license to use the v6, but that wouldn't affect the live v5.3 site client area. 0 Quote Link to comment Share on other sites More sharing options...
innovot Posted August 24, 2015 Author Share Posted August 24, 2015 (edited) Thanks for the reply. I created a PHP script for connecting to the MariaDB using PDO and that works fine! <?php $db_host = 'dbserver'; $db_port = '3307'; $db_username = 'whmcs'; $db_password = 'verycomplexpassword'; $db_name = 'whmcs01'; try { $conn = new PDO("mysql:host=$db_host;port=$db_port,dbname=$db_name", $db_username, $db_password); } catch (PDOException $pe) { die("Could not connect to the database $dbname :" . $pe->getMessage()); } ?> Edited August 24, 2015 by innovot 0 Quote Link to comment Share on other sites More sharing options...
innovot Posted August 25, 2015 Author Share Posted August 25, 2015 After finding that V6 does not support a MySQL port shift was able to upgrade. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.