MySQL Forums
Forum List  »  Data Recovery

Dump completed but w/o data or schema
Posted by: S W
Date: November 30, 2010 09:36AM

Completely new to mysql.

Used the mysqldump cmd to export a source mysql 5.0.67 database on a remote Win2003 server. Copied the 4GB output dmp to local server. Created new target DB, user & pw with same values as on source.

Ran mysqldump cmd to import to 5.1.53 target DB. Ran in milliseconds and returned "Dump completed", but there is nothing in target DB???

Help please! Cmds & output below.
Thanks.
--SW

/* the export cmd from version "5.0.67-community-nt" */
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump" -h localhost -pmypassword -u admin profiler > D:\profiler_mysql.sql

/* the import cmd */
"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump" -h localhost -pmypassword -u admin profiler < E:\profiler_mysql.sql

/* the cmd output */

>"C:\Program Files\MySQL\MySQL Server 5.1\bin\
mysqldump" -h localhost -psolarwinds -u admin profiler < E:\profiler_mysql.sql
-- MySQL dump 10.13 Distrib 5.1.53, for Win32 (ia32)
--
-- Host: localhost Database: profiler
-- ------------------------------------------------------
-- Server version 5.1.53-community

/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!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' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2010-11-30 10:06:16

Options: ReplyQuote


Subject
Views
Written By
Posted
Dump completed but w/o data or schema
3387
S W
November 30, 2010 09:36AM


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.