Which database am I using?

I use WP-Staging. When I created my staging site it gave me a prefix of wpstg0. Fair enough. and the database name is xxx832.

My live database has always used xxx560. And according to the public_html/wp-config.php file it still does.

But the evidence of my own eyes, and help from PHPmyadmin use of both databases, tells me it is reading from xxx832, the staging database. It is showing posts in the test database that are not present in the live one.

I have recently pushed the changes, selecting all options, including database.

How do I resolve this conundrum please?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here