-1

I have a WordPress website and I cloned it to another website(domain) using a plugin called Duplicator. So in the backend, phpMyAdmin, I've two different databases but all the tables in both databases have the same names.

enter image description here

I just want to make sure that this does not have any kind of bad effects.

0
0

No problem.

USE mumer_watches;
SELECT ... FROM wp58_posts

will refer, unambiguously, to the table mumer_watches.wp58_posts. Ditto for

SELECT ... FROM mumer_watches.wp58_posts

Assuming this is WordPress, well, that's the way it works.

2
  • I don't have to do any operations on databases manually, the CMS (WordPress) automatically does it. I think there won't be any problem because they are two different databases and two different websites. What do you think? Jul 24 at 1:46
  • @UmerMansoor - Nothing to worry about. (I added some text.)
    – Rick James
    Jul 24 at 2:46
0

word press has a variable for the database, as long as you have the configuration correct it will apply to all script automatically.

So you have no worries about which database you are using

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );

explanation for the config file

If you want to know mre abour identifiers

mysql

and maria db

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.