If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > sql migration problems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-18-09, 19:22
craig22 craig22 is offline
Registered User
 
Join Date: Mar 2009
Posts: 1
sql migration problems

i am using mysql migration software to upload a table of data to a server.

When i go through the steps it produces two sections of code within the software that can be edited the first is.

CREATE DATABASE IF NOT EXISTS `craig_Database1`
CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `craig_Database1`;

This is for the database itself then the table section is

DROP TABLE IF EXISTS `craig_Database1`.`Craig_songlyrics2`;
CREATE TABLE `craig_Database1`.`Craig_songlyrics2` (
`Field2` VARCHAR(255) NULL,
`Field3` VARCHAR(255) NULL,
`Field4` VARCHAR(255) NULL,
`Field5` VARCHAR(255) NULL,
`Field6` VARCHAR(255) NULL,
`Field7` VARCHAR(255) NULL,
`Field8` VARCHAR(255) NULL,
`Field9` LONGTEXT NULL,
`Field10` VARCHAR(255) NULL,
`Field11` VARCHAR(255) NULL
)
ENGINE = INNODB;

Each time is use the software it will delete the previous data and upload the data in the database on my computer only.

what i want to do is update the data on the server with fresh data from teh database on my computer and not delete the records on the sql server all ready.

Can any one help
Thanks :-)
Craig
Reply With Quote
  #2 (permalink)  
Old 03-18-09, 20:11
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
your migration software should be able to do that easily
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On