Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8640389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:16:06+00:00 2026-06-12T11:16:06+00:00

I am working on a website for a client who has several websites on

  • 0

I am working on a website for a client who has several websites on her web hosting account. I would like to move one of the websites, which is running on WordPress, to my localhost. But am having issues with the MySQL db and can’t figure out which database the site is using.

The wp-config.php points to one database, but when I look at that same database in phpMyAdmin there are none of the common WordPress tables in there. Instead of the prefix wp_ there are a bunch of tables with the prefix cp_. I don’t know what that means. There are other databases on the client’s hosting account that have WordPress tables, but the wp_options tables for them all point to other site URLs, not the one I’m trying to work on.

How can I find out which database is being used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:16:07+00:00Added an answer on June 12, 2026 at 11:16 am

    It’s possible that the table prefix has been changed to cp_ instead of the standard wp_. Some installations do that to mitigate some types of SQL injection attacks. wp-config.php should always point to the real database which, in your case, should have table names like cp_posts, cp_postmeta, cp_options, etc.

    Check for the $table_prefix variable in the config file, or it may be buried in some cPanel option somewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a website for a client and I would like a way
I'm working on a website for a client, and I would like to customize
I have working website in PHP with a MySQL backend which has several tables
A client has sent me a Flash CS3 website template she was working on.
I am working on a website where the client has asked me to implement
Currently I'm working on a website for a client, who deals in software plugins.
I am working currently on a website for a client who knows nothing about
Hello I am working on an existing Drupal website for my client. He has
I'm working on a website that has a chat for a client, however, we're
I'm currently working on a website for a client and I'm getting a strange

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.