where i can edit the database name and username in joomla website?

Posted on 2009-04-21
Last Modified: 2013-12-12
Hello i have two couple of questions hope you can help in it concerning Joomla 1.5

1-Does Jommla work in easy php
2-Does is work in php 4
3-What is the file in charge for database connection (name,username and password)

Hope you can help me.
Question by:Audiominds
    LVL 19

    Expert Comment

    1.  Yes, it's chugging along nicely on our dev server with similar server specs to easy php. Installation:

    2. Technical Requirements:

    3. /joomla_install_folder/configuration.php lines 31-35

    Author Comment

    i have an already installed joomla  so how can i change the database ?
    LVL 14

    Expert Comment


    To change the database:

    Go to joomlafolder/configuration.php.

    Edit that.

    LVL 14

    Accepted Solution


    In joomla 1.5.x:

    these are the variables: to change dbname and dbusername and also dbpassword(configuration.php)

    var $user = 'database username';
    var $db = 'dbname';
    var $password = 'password';

    And in joonla 1.0.x:

    $mosConfig_db = 'dbaname';
    $mosConfig_user = 'username';
    $mosConfig_password = 'password';


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now