pragyapradhan
7/12/2017 - 5:15 AM

Ubertheme setup in magento 2 First, steps to follow once you add ubertheme, ubtool to recover from the exception.

Ubertheme setup in magento 2

First, steps to follow once you add ubertheme, ubtool to recover from the exception.

Add ubertheme package in: app>code

C:\wamp64\www\magento2\app\code\Ubertheme

Add uber theme package in magento2>pub

C:\wamp64\www\magento2\pub\ub-tool

Go to: 
C:\wamp64\www\magento2\pub\ub-tool\yii\db
CDbConnection.php (#open this file in notepad++)

public $username='root';
	/**
	 * @var string the password for establishing DB connection. Defaults to empty string.
	 */
	public $password='';




Go to:
C:\wamp64\www\magento2\pub\ub-tool\protected\config
config.php (#open this file in notepad++)

//Database of Magento1
        'mage1' => array(
            'connectionString' => 'mysql:host=localhost;dbname=ubtestmangento',
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => '',
            'charset' => 'utf8',
            'tablePrefix' => '',
            'class' => 'CDbConnection'
        ),
        //Database of Magento2 beta
        'mage2' => array(
            'connectionString' => 'mysql:host=localhost;dbname=magento2',
            'emulatePrepare' => true,
            'username' => 'root',
            'password' => '',