exporting/importing users using phpmyadmin

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
aimlesslady
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Tue Sep 25, 2007 11:50 am

exporting/importing users using phpmyadmin

Post by aimlesslady » Fri Feb 02, 2024 8:30 pm

I have migrated from Joomla 3 to 4. While I was doing the migration on the development site, new users registered on the live site. I want to export the users on the live site and import them via phpmyadmin. I need help identifying which tables I need to export and the settings for a Custom Export option.
I may also have to do this for my JGive component since they have an export option but no import option in the component interface. If you can help with that as well, that would be helpful.
Thanks in advance.

User avatar
cmbay
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Thu Dec 31, 2009 11:53 pm
Location: Oregon, USA

Re: exporting/importing users using phpmyadmin

Post by cmbay » Sat Feb 03, 2024 2:47 pm

aimlesslady wrote: Fri Feb 02, 2024 8:30 pm I want to export the users on the live site and import them via phpmyadmin. I need help identifying which tables I need to export and the settings for a Custom Export option.
To get you started, I suggest examining the #__users table of the old site. Sort that table in PHPMyAdmin on the registerDate column. Export the newest entries and then import them into the live site.
Charles

aimlesslady
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Tue Sep 25, 2007 11:50 am

Re: exporting/importing users using phpmyadmin

Post by aimlesslady » Sat Feb 03, 2024 11:03 pm

Thank you, so all tables with #__users.
What about the Custom settings. Leave the default?

User avatar
cmbay
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Thu Dec 31, 2009 11:53 pm
Location: Oregon, USA

Re: exporting/importing users using phpmyadmin

Post by cmbay » Sat Feb 03, 2024 11:34 pm

aimlesslady wrote: Sat Feb 03, 2024 11:03 pm Thank you, so all tables with #__users.
What about the Custom settings. Leave the default?
I've told you more than I know about the subject of user database tables. It's now time for some one with more experience than I to chime in.
By the way, how many interim users do you want to import? A handful? Dozens? Hundreds?
Charles

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17516
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: exporting/importing users using phpmyadmin

Post by toivo » Sat Feb 03, 2024 11:47 pm

There are other tables associated with the _users table. The contents of the tables listed below, other than _user_usergroup_map, may be empty, depending on the features the website is using:
_user_keys
_user_mfa
_user_notes
_user_profiles
_user_usergroup_map

Does the website use custom fields for users? If it does, then new users may have data stored in the table _fields_values.
Toivo Talikka, Global Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: exporting/importing users using phpmyadmin

Post by Webdongle » Sun Feb 04, 2024 4:15 am

If it was not many new users perhaps email them and ask them to reregister?
Or try https://extensions.joomla.org/extension ... p-upgrade/
There maybe others
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”