While most features and changes for your Zen Cart can be done within the administrative area.There may come a time when you need to interact with the database directly via a tool like phpMyAdmin. This could be due to troubleshooting or even making mass changes to the database that are not available in the back office. In this case, however, you will need to know the database name. The steps below will guide you in discovering the database name your Zen Cart application uses.

Locating the database name for your Zen Cart application

  1. To get started, log into your cPanel dashboard.
  2. Once in the main cPanel area, enter the File Manager.
  3. After you enter the File Manager, navigate to the root folder for your Zen Cart store. In our example, the folder is named zencart and is under the public_html root folder. If you are using an addon domain, look for the domain name under the public_html folder. For example, the files for an addon domain named example.com would be under the public_html/example.com folder
  4. Under the root folder for your Zen Cart store, locate and enter the includes folder. Using our main domain as an example, we would be in the public_html/includes folder.
  5. Now that you are in the includes folder, you will need to open the configure.php file. To open the file, highlight it and click on the Edit icon located in the toolbar across the top.
  6. You will see a lot of text inside the file, so you may want to use the search feature to find DB_DATABASE. Using the line of code below as an example, the second parameter is the full database name. The name is prefixed by your cPanel username (userna5) and the database name is the last portion (_zen123).

    define('DB_DATABASE', 'userna5_zen123');
  7. Write the database name down for later reference. You can now quickly locate your database when using tools like phpMyAdmin regerdless of how many databases your hosting account is using.

 

 

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 693

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!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.