InMotion Hosting Support Center

error-displaying-the-error-page-application-instantiation-errorIn our last tutorial, we showed you how having the wrong database credentials in your Joomla 3.0 configuration.php file can cause the Error displaying the error page: Application Instantiation Error. To resolve this database error, you need to confirm that your database credentials with your hosting provider match those set within your Joomla configuration file.

In this tutorial, we are going to give you a broad overview of how to ensure your Joomla 3.0 website is connecting successfully to your MySQL database. This article assumes that you are familiar with basic file editing, using a program such as the File Manager (located within cPanel).

Follow along with the steps below to learn how to change your Joomla 3.1 database settings.

To ensure you are using the correct database settings in Joomla 3.0:

  1. Review the database settings you are currently using

    Using an editor of your choice and open your Joomla configuration.php file. This file will be located in the top level of your Joomla 3.0 files on your server. When you open the file, pay attention to the following settings:

    public $host = 'localhost';
    public $user = 'juser';
    public $password = 'jpass';
    public $db = 'jdb';

    As you can see in the above, my database server is localhost. I am connecting to a database named jdb, with juser and jpass as the database username and password.

  2. Confirm with your Joomla Hosting provider your settings are correct

    Most hosting providers will give you an interface where you can setup databases. If you're familiar with their tools, confirm that the database settings you are using in your Joomla configuration.php file match what is set on the server. If you can't see the password set on the server, reset it so you can be sure you are using the correct database password. If you need any assistance, contact your host's technical support for further assistance.
  3. If needed, update the database settings in Joomla's configuration.php file

    The key to connecting Joomla 3.0 to your database successfully is knowing what your database settings actually are on your server, and then making sure they match within Joomla's configuration.php file. For example, if you reset your database password on the server in step 2 above, be sure to update the password in your configuration file as well.
Was this article helpful?
Continued Education in Course Joomla 3
You are viewing Section 38: 305: How to Change your Joomla 3.1 Database Settings
Section 37: 306: Joomla 3.1 Error - Could not instantiate mail function
Section 39: 304: Troubleshooting Joomla 3.1 Database Connection Errors

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2016-01-20 8:01 am

thank you very much for your help,its work.Keep it up guys :)


Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

1 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!