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

Posted on 2009-04-21
Medium Priority
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
  • 2
LVL 19

Expert Comment

ID: 24201672
1.  Yes, it's chugging along nicely on our dev server with similar server specs to easy php. Installation: http://help.joomla.org/content/category/48/268/302/

2. Technical Requirements: http://www.joomla.org/about-joomla/technical-requirements.html

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

Author Comment

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

Expert Comment

ID: 24202714

To change the database:

Go to joomlafolder/configuration.php.

Edit that.

LVL 14

Accepted Solution

shobinsun earned 2000 total points
ID: 24202834

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';


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

578 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