MySQL Forums
Forum List  »  Backup

Migrating Data from 3.23 to 4.1
Posted by: Jonathan Cua
Date: March 01, 2005 11:11AM

Hi,

I'm trying to migrate my data from MySQL version 3.23 to 4.1. I used the mysqldump to do this... here is the actual statement that I wrote,

/usr/bin/mysqldump --opt <db> <tablename> > backup.sql

then when I try to restore this data to 4.1, I used this command,

/usr/bin/mysqldump <db> < backup.sql

then I get this message,

-- Connecting to localhost...
-- Disconnecting from localhost...
-- MySQL dump 10.9
--
-- Host: localhost Database: testing
-- ------------------------------------------------------
-- Server version 4.1.10-standard

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

This didn't restore any of my data.

I'm using a Fedora Core 3.

Thanks,
Jonathan

Options: ReplyQuote


Subject
Views
Written By
Posted
Migrating Data from 3.23 to 4.1
3554
March 01, 2005 11:11AM
2107
August 04, 2005 01:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.