I am trying to move my local Magento site to my Live server. (XAMPP to cPanel)
To do this I have exported the database, etc and all those steps are fine.
However i get error on tables in my phpmyadmin on cpanel, also i read that i should edit the local.xml
file but i don't have that file in my app/etc folder rather i have config.php
, env.php
, di(which is xml)file.
Does anybody know if I am doing this step correctly, or is there a different way to get my Magento files from my Local site to my Live site. or how i can manually set local.xml
in magento 2.0
My env.php looks like this
<?php
return array (
'backend' =>
array (
'frontName' => 'admin',
),
'install' =>
array (
'date' => 'Mon, 18 Apr 2016 14:27:37 +0000',
),
'crypt' =>
array (
'key' => '51b8c74ff74f2b568c1025da3b4be0f4',
),
'session' =>
array (
'save' => 'files',
),
'db' =>
array (
'table_prefix' => '',
'connection' =>
array (
'default' =>
array (
'host' => 'localhost',
'dbname' => 'fashmart247',
'username' => 'root',
'password' => '',
'active' => '1',
),
),
),
'resource' =>
array (
'default_setup' =>
array (
'connection' => 'default',
),
),
'x-frame-options' => 'SAMEORIGIN',
'MAGE_MODE' => 'default',
'cache_types' =>
array (
'config' => 1,
'layout' => 1,
'block_html' => 1,
'collections' => 1,
'reflection' => 1,
'db_ddl' => 1,
'eav' => 1,
'config_integration' => 1,
'config_integration_api' => 1,
'full_page' => 1,
'translate' => 1,
'config_webservice' => 1,
),
);