• Home
  • About
  • Contact
  • Archives

Christian Affiliate Marketing

How to Combine Two MySQL Databases

tag
time Posted by Carl Thomas on September 17th, 2008

I have two niche websites that I made in the a very similar niche.  I put almost no effort into one and spent a great deal of time on the other.  Wouldn’t you know it?  The one with no work is making almost $200 a month.  Not a fortune but I have not done a minute of work on it since I built it about six months ago.

The sites had an identical structure.  so I wanted to get the data from the larger one, that I thought would make money, and import it into the one that actually does make money.  After some research, here is how I did it.

Go to your phpMyAdmin in database A.

In phpMyAdmin open the table, click “SQL”, change the SQL query to SELECT all fields without the field that gets you the duplicate error (for example ID that has auto_increment).

For example:

Normal query: SELECT id, name, address, city FROM table

You do: SELECT name, address, city FROM table

Click ‘Go’. It will show you the results. Now just click ‘Export’ (not the one in the header but in the ‘Query results operations’ area). It will forward you to the export page. Just press GO and your done.

Now you can import it into your database ‘B’.

Want automatic updates? Subscribe to our RSS feed or Get E-mailed Updates!

If you enjoyed this post, feel free to subscribes to our rss feeds

tag Digg This! tag Stumble it! tag Add to Del.icio.us tag Netscape it! tag Google Bookmark It!

Related Posts:

Be The First To Comment on: "How to Combine Two MySQL Databases"

Posting your Comment!


Join in on the conversation below!

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



1 1 1
RSS | Comments
Add this blog to my Technorati Favorites!
  • Recent Posts

    • We have moved!
    • 10 No-No Follow Christian Forums for Link Building
    • Around the Blogsphere
    • We All Get Server Issues
    • Wordpress Is All the Average User Will Ever Need
  • Recent Comments

    • Carl Thomas on My Slhost Nightmare
    • perry penn on My Slhost Nightmare
    • Carl Thomas on Around the Blogsphere
    • Shannon Lilly on Around the Blogsphere
    • admin on Around the Blogsphere
  • Blogroll

    • Shannon Lilly
    • Wade Tonkin
  • Categories

    • Christian Affiliate
    • Christian Business
    • More Blog Traffic
    • Technology
    • Uncategorized
    • Web Design

    Archives

    • October 2008
    • September 2008
    • July 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2007
    • October 2007
    • September 2007
    • August 2007

    Tags

      Design Search

    Miscellaneous

    Christian Affiliate Marketing Copyright © 2008 | Slick Blue Theme by Kyle Eslick
    Entries RSS • Comments RSS • Sitemap • Log in