Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > PHP > MySQL
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 04-05-2007, 09:41 PM   #1
yalla
Smurf
 
yalla's Avatar
 
Join Date: Oct 2006
Posts: 31
yalla will become famous soon enough
Exclamation Merge Two MySql databases

Hello,

I have two databases on my website lebphoto.com with the same tables. One with a 1665 members and the other with 33 members, I want to merge them together. is there a way other than typing each records by myself or ask the members to register again?

Thank you
yalla is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 04-06-2007, 01:20 AM   #2
lwbbs
Member
 
lwbbs's Avatar
 
Join Date: Apr 2007
Location: www.easywebx.com
Posts: 241
lwbbs is on a distinguished road
Default Re: Merge Two MySql databases

Export one table, than import it in the other database.

Quote:
Originally Posted by yalla View Post
Hello,

I have two databases on my website lebphoto.com with the same tables. One with a 1665 members and the other with 33 members, I want to merge them together. is there a way other than typing each records by myself or ask the members to register again?

Thank you
__________________
EasyWebX.com offers Cash Rebates up to $100 for lots of web hosting plans.
HostDomainZone.com offers cheap domains ($1.99*), web hosting ($3.19) and reseller plans ($59.99/yr)
lwbbs is offline  
Old 04-06-2007, 02:23 AM   #3
jumpenjuhosaphat
 Contributor 
 
jumpenjuhosaphat's Avatar
 
Join Date: Jun 2006
Location: Denver
Posts: 4,459
jumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud of
Default Re: Merge Two MySql databases

Quote:
Originally Posted by lwbbs View Post
Export one table, than import it in the other database.

Could you elaborate a lot more, explain what the steps involved are? Export then Import doesn't mean anything.
__________________
Storage Sheds
Lost Forum
jumpenjuhosaphat is offline  
Old 04-06-2007, 05:56 AM   #4
lwbbs
Member
 
lwbbs's Avatar
 
Join Date: Apr 2007
Location: www.easywebx.com
Posts: 241
lwbbs is on a distinguished road
Default Re: Merge Two MySql databases

OK. For example, database name: db1 and db2
The table name is tb.
Export table
1) Use phpMyAdmin, select db1
2) Click Export
3) Select db table
4) unselect Structure
5) check Save as file
6) Click Go

Import table
1) Use phpMyAdmin, select db2
2) Select db table
3) Click Import
4) Browse your exported file
6) Click Go

Done


Quote:
Originally Posted by jumpenjuhosaphat View Post
Could you elaborate a lot more, explain what the steps involved are? Export then Import doesn't mean anything.
__________________
EasyWebX.com offers Cash Rebates up to $100 for lots of web hosting plans.
HostDomainZone.com offers cheap domains ($1.99*), web hosting ($3.19) and reseller plans ($59.99/yr)
lwbbs is offline  
Old 04-06-2007, 07:59 AM   #5
jumpenjuhosaphat
 Contributor 
 
jumpenjuhosaphat's Avatar
 
Join Date: Jun 2006
Location: Denver
Posts: 4,459
jumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud ofjumpenjuhosaphat has much to be proud of
Default Re: Merge Two MySql databases

Thank you iwbbs. Let us know how that works for you.
__________________
Storage Sheds
Lost Forum
jumpenjuhosaphat is offline  
Old 04-06-2007, 04:00 PM   #6
lwbbs
Member
 
lwbbs's Avatar
 
Join Date: Apr 2007
Location: www.easywebx.com
Posts: 241
lwbbs is on a distinguished road
Default Re: Merge Two MySql databases

You are welcome.

Quote:
Originally Posted by jumpenjuhosaphat View Post
Thank you iwbbs. Let us know how that works for you.
__________________
EasyWebX.com offers Cash Rebates up to $100 for lots of web hosting plans.
HostDomainZone.com offers cheap domains ($1.99*), web hosting ($3.19) and reseller plans ($59.99/yr)
lwbbs is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Databases for Webmasters toddc Content 2 02-24-2007 01:04 PM
Databases and Web Content for sale toddc Content 1 12-28-2006 12:15 PM
Website Content Databases - MySQL & MS Access odditysoftware Websites for Sale 115 11-28-2006 08:19 PM
Wanted: databases Lpspider Want to Buy 1 12-21-2005 10:43 PM


All times are GMT. The time now is 11:45 AM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.