Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»General Articles»How to Edit Magento Database Configuration File

    How to Edit Magento Database Configuration File

    RahulBy RahulJuly 14, 20151 Min Read

    Magento is a most popular eCommerce software program. In this article you will get details about Magento database configuration file. To change your Magento database server hostname, database username, password or database name, you need to edit below file.

    /<Magento Install Dir>/app/etc/local.xml

    Navigate to your Magento installation directory and edit local.xml configuration file in your favorite editor and search for following settings.

    <connection>
       <host><![CDATA[localhost]]></host>
       <username><![CDATA[database_username]]></username>
       <password><![CDATA[database_password]]></password>
       <dbname><![CDATA[database_name]]></dbname>
       <active>1</active>
    </connection>
    
    

    Now update the orange highlighted values as following

    • localhost : Mysql server hostname.
    • database_username : Mysql user to connect database server.
    • database_password : Mysql user password .
    • database_name : Mysql database name of magento.
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Configure Chroot Jail in VSFTPD
    Next Article How to Manage Database in ROR using Rake Commands

    Related Posts

    What is CPU? – Definition, Types and Parts

    3 Mins Read

    How to Install Ionic Framework on Ubuntu 22.04

    3 Mins Read

    What is the /etc/hosts file in Linux

    Updated:June 27, 20222 Mins Read

    Creating DMARC Record for Your Domain

    Updated:June 29, 20223 Mins Read

    What is Computer Hardware?

    4 Mins Read

    What is Information Technology (IT)?

    Updated:June 29, 20223 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.