Magento 数据库配置文件 Magento where is database configuration file?

Find the local.xml in local \magentoappetclocal.xml

<pre class="brush:xml">
<config>
…
<db>
<table_prefix><![CDATA[]]></table_prefix>
</db>
<default_setup>
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[bobjaneg_user]]></username>
<password><![CDATA[tES@A$pGtOF&]]></password>
<dbname><![CDATA[bobjaneg_cmsdb]]></dbname>
<active>1</active>
</connection>
</default_setup>
…
</config>
</pre>

 

Leave a Reply