Magento: Sample local.xml template
Sample app/etc/local.xml file template. Change mysql database name, username and password with yours and clear the cache.
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php | |
* If you did not receive a copy of the license and are unable to | |
* obtain it through the world-wide-web, please send an email | |
* to license@magentocommerce.com so we can send you a copy immediately. | |
* | |
* DISCLAIMER | |
* | |
* Do not edit or add to this file if you wish to upgrade Magento to newer | |
* versions in the future. If you wish to customize Magento for your | |
* needs please refer to http://www.magentocommerce.com for more information. | |
* | |
* @category Mage | |
* @package Mage_Core | |
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) | |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) | |
*/ | |
--> | |
<config> | |
<global> | |
<install> | |
<date><![CDATA[Mon, 23 Sep 2013 19:53:16 +0000]]></date> | |
</install> | |
<crypt> | |
<key><![CDATA[414c9022922d31b62bbe4447356e4ed6]]></key> | |
</crypt> | |
<disable_local_modules>false</disable_local_modules> | |
<resources> | |
<db> | |
<table_prefix><![CDATA[]]></table_prefix> | |
</db> | |
<default_setup> | |
<connection> | |
<host><![CDATA[127.0.0.1]]></host> | |
<username><![CDATA[MYSQL_USERNAME]]></username> | |
<password><![CDATA[MYSQL_PASSWORD]]></password> | |
<dbname><![CDATA[DATABASE_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> | |
</resources> | |
<session_save><![CDATA[files]]></session_save> | |
</global> | |
<admin> | |
<routers> | |
<adminhtml> | |
<args> | |
<frontName><![CDATA[admin]]></frontName> | |
</args> | |
</adminhtml> | |
</routers> | |
</admin> | |
</config> |
Leave a comment
Welcome to my Blog
Certifications
Honor
Recognition
Contributions
Categories
- Apache (2)
- ChatGPT (1)
- Domain name (2)
- eCommerce (2)
- htaccess (1)
- Humor (3)
- Instagram API (1)
- jQuery (4)
- JSON (1)
- Linux (10)
- Magento (142)
- Magento admin (58)
- Magento Certification (5)
- Magento error (13)
- Magento frontend (68)
- Magento Imagine (2)
- Magento Interview (5)
- Magento Master (2)
- Magento2 (10)
- Mobile (1)
- MySQL (7)
- OpenAI (1)
- OroCRM (2)
- Performance (2)
- PHP (8)
- Prototype JS (3)
- Security (4)
- Wordpress (3)
- XML (2)
Tag Cloud
500 internal server error admin answers attribute bug category checkbox checkout cookie customer difference domain name EAV error event extension interview invoice jquery linux magento magento2 magento admin magento error magento interview questions magento orm mysql observer order pinterest product products questions redirect register remove script session simplexml to array state status study guide tax url wordpress