Magento is a great E-Commerceshopping solution and this great E-Commerce cms has some premade templates that comes with magento installation and database that you may need to change the database name to what you’ve already c reated as cpanel will ad username prefix to it so you have to change the name of the database of such pre-installed magento or even you may need to change the database name in any condition.

changing magento database is easy and you just need to edit an xml file named local.xml
It is really a question for me and so many people who have been in such situation that why the name isn’t config.xml instead and this may have a good reason for the developer
this file is located at

app/etc/local.xml

open this file and edit this protion of xml file

<default_setup>
                <connection>
                    <host><![CDATA[localhost]]></host>
                    <username><![CDATA[username]]></username>
                    <password><![CDATA[password]]></password>
                    <dbname><![CDATA[dbname]]></dbname>
                    <active>1</active>
                </connection>
            </default_setup>

and you just need to change the values that are enclosed in [CDATA[]] tag

THanks
Voshka Niknam

243 COMMENTS

  1. I was curious if you ever considered changing the structure of your website?

    Its very well written; I love what youve got to say. But maybe
    you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only having 1 or 2 pictures.
    Maybe you could space it out better? https://Xenofon.gr/ATHENS-0000001615-eteries-marketingk-diadiktiou-stin-india.html

  2. I’m often to blogging and i really appreciate your content. The article has actually peaks my interest. I’m going to bookmark your web site and maintain checking for brand spanking new information.

  3. Hey there! Someone in my Myspace group shared this
    site with us so I came to check it out. I’m definitely enjoying the information. I’m bookmarking and will be
    tweeting this to my followers! Wonderful blog and outstanding design and style.

LEAVE A REPLY

Please enter your comment!
Please enter your name here