CDbConnection failed to open the DB error

 We are getting a “CDbConnection failed to open the DB connection.” error on the first page, soon as you click the UB Data Migration Pro tab. We’re using Nginx, but have followed all the “SERVER CONFIGURATION (For Nginx Server only)” instructions. Need help! Thank you.

1 answer

Profile photo of Mall Staff 184060.00 $tone March 18, 2017

Hi quinnspicker,

CDbConnection failed to open the DB connection

It seem you have settings wrong database information. Let’s re-check your databases information in the php file at: pub/ub-tool/protected/config/db.php 
Also, if your Magento1’s database is not same server with Magento2, you have to enable remote connect in Magento1’s  Mysql.
Please have a look again.


Please login or Register to Submit Answer

Written By