WordPress 4.1 - how to merge 2 similar versions of Users Table?

Hi Experts,

 I recently moved my WordPress 4.1 website to a new hosting service.

6 users registered on the old site after the new site commenced operation.

How can I merge these 6 users into the database on the new site?

I have tried a number of plugins with import and export capabilities, but nothing worked for me.

Perhaps I can do it with phpmyadmin?

Regards,
Leigh
LVL 1
LeighWardleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
Simply copy the relevant rows from wp_users and wp_usermeta, using phpmyadmin or similar.

HTH,
Dan
0
LeighWardleAuthor Commented:
Thanks, Dan.

The Users that I want to copy have field ID in the range 1965 to 1970.
The destination table already has other Users with the same ID.

ID is auto_increment.

Do I need to do anything special to handle the duplicate IDs?
0
Dan CraciunIT ConsultantCommented:
For the users table you simply insert and let the autoincrement take care of the ID. It will be different.

Things will get a bit complicated with the usermeta table. You'll need to see what is the new ID of the user and update accordingly.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LeighWardleAuthor Commented:
Thanks, Dan.
0
Dan CraciunIT ConsultantCommented:
You're welcome.

Glad I could help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.