Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 10th, 2004, 04:44 PM
bearqst bearqst is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Alaska
Posts: 153 bearqst User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 47 sec
Reputation Power: 2
MySQL question

A question regarding MySQL dB move before I take the leap..

I have two dB's, one old, one new, I need to move the info from 2 tables in the first (old) dB into the 2nd (new) dB.

It's an Album dB that has Catagories and photos listed under each Catagory.

I'm doing this via phpMyAdmin. If my thinkng is correct (hold all jokes on that comment) I should 1st export the two dB tables from the old dB, and then import the tables to the new dB, the catagory one first, then the one with the photos.

I have the table structure already created in the new dB, same naming convention.

Does this sound correct ??

Reply With Quote
  #2  
Old April 10th, 2004, 05:45 PM
bearqst bearqst is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Alaska
Posts: 153 bearqst User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 47 sec
Reputation Power: 2
SOLVED RE: MySQL question

OK, I figured it out. My initial problem was the way I was exporting the data. I extracted just the "data: and got
::

INSERT INTO php_album_cat VALUES (1, 'Family Photos 2000 and earlier', 'General family photos',

::
tables (didn't need the data and structure) and inserted the data values into the new dB and then moved the directories over to the new directory on the server to show the photos.

Pretty easy with phpMyAdmin actually.... Yes I just patted myself on the back

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > MySQL question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway