You're doing so at your own risk! In any case, make a backup of the complete database before starting! (In case you wonder how, follow the "A: Export..." steps here below, only for ALL tables in the database.)
A: Export from source database:
- In phpMyAdmin, in its left pane, click on the database containing the HikaShop tables.
- Now you should have a list of all tables in the right pane, too.
- Further up in the right pane you have a tab "Export". Click it, then select "Custom - ...".
- Now you see below a frame with a scrollable list of all tables in the database. By default they're all selected. However, you want to select only the HikaShop tables. They're easy to find since they are all named xyz_hikashop_..., where "xyz" the prefix of probably all tables in your database is. Make the selection with by clicking the first, then the last while holding the Shift key.
- Below the frame, select "Save output to a file". Leave everything else further below as is, don't change any other setting.
- Click "Go" at the bottom of the pane. A short while later you'll have the tables in one file.
B: Import into target database:
- You guess it: The target database wants to be selected in the left pane.
- And by now you've seen the "Import" tab at the upper edge of the right pane.
- The rest is simple: choose the previously exported file, don't touch anything else, and click "Go" at the bottom of the pane.
- Now the HikaShop tables should be part of the target database.
Notes:
- If you had tables of the same name in the target database before (which is very likely - otherwise I'd wonder why you'd want to move those tables), you'll first need to decide what to do with them. Again, whatever you do, BACKUP - this time the complete target database!
- The suffix ("xyz" in my example above) is ideally the same as the rest of the target database tables. If needed, the freshly imported tables can be renamed - but that's a different subject... to be covered, well, if needed.
