Magento1
Magento1 copied to clipboard
can not run exists project magent1.9
Hi bro, i have a project magento1 want to move docker env, when i using your docker images, i get issues, please help me.
Many Thanks
I think magento 1.9 not work with mariadb, only mysql
try to do the following steps to run an existent store:
How to run an existent magento1 store
import the DB
import the MySQL file into the PHP my admin to work properly. The MySQL file should be filename.sql.zip
it is important that the file should be a SQL and zipped!!!
on PHP myadmin
- create a new table
- click on it and go to import and select the zip file
update the core_config_data table with the local URL that will be used to access the store locally
Once you having the SQL already imported you must update the core_config_data
with the URL locally
- update the
value
field forweb/unsecure/base_url
- update the
value
field forweb/secure/base_url
configure the default_setup on local.xml
- configure the local.xml inside of
src/app/etc
<default_setup>
<connection>
<host><![CDATA[db]]></host>
<username><![CDATA[root]]></username>
<password><![CDATA[root]]></password>
<dbname><![CDATA[your_table_name]]></dbname>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>
<model><![CDATA[mysql4]]></model>
<type><![CDATA[pdo_mysql]]></type>
<pdoType><![CDATA[]]></pdoType>
<active>1</active>
</connection>
</default_setup>
run
- try to run opening the URL configured for the local store
problems with cache
- if have some problems with cache try to run this script https://gist.github.com/daniloab/68869723769b466d81f58c49fd7b2c22