473,405 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Import databse ?

Hi ,
I am trying to export a database from one machine ie linux, and import
the same database to another machine ie ,solaris .

I exported the database using the following command .

mysqldump -c -u vidhya ifmonitor > $HOME/ifmonito.backup.

this is ok , ifmonitor-backup has the table creation info as well as the
table data .

but when I try to import the same database to mysql in solaris m/c
using the command

mysqldump -u vidhya ifmonitor < ifmonitor.backup

It is showing the table creation info , but the actual data is not
dumped .

I am getting the following o/p
-- MySQL dump 9.08
--
-- Host: localhost Database: ifmonitor
---------------------------------------------------------
-- Server version 4.0.14-standard

--
-- Table structure for table 'network'
--

CREATE TABLE network (
device char(16) NOT NULL default '',
timestamp int(14) default NULL,
rx_bytes int(10) unsigned default NULL,
tx_bytes int(10) unsigned default NULL,
rx_drop int(10) default NULL,
tx_drop int(10) default NULL,
KEY timestamp (timestamp),
KEY device (device)
) TYPE=MyISAM;

--
-- Dumping data for table 'network'
--
bash-2.05$
The table has nearly 358 records and those records has not been imported
to ifmonitor database .
how do I correct this .
any idea?
thanks
Vidhya


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1988

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vidhya CS | last post by:
Hi , I am trying to export a database from one machine ie linux, and import the same database to another machine ie ,solaris . I exported the database using the following command . mysqldump...
0
by: Mario Ohnewald | last post by:
Hello! I want to import a MySQL 3.x Databse to my new shiny MySQL4.x. I did a backup with /usr/local/mysql-standard-4.0.14-pc-linux-i686/bin/mysqldump -u root -p --opt -A > mysql_lamp_backup.`date...
2
by: Ivan | last post by:
Hi, SQL Server 2000 SP3 Windos 2000 Server SP4 I have a DTS package that imports data from a dBase IV databse with files located in two folders (dBF1 and dBF2). I use a transform data task...
2
by: Retheesh | last post by:
I have a requirement for importing a sql file in my local databse.I have exported the file from the client database.That file is more than 50mb.I want to import this sql file into my local...
2
by: jainarun | last post by:
Hi All, I have to import the data from MSExcel to Ms Sql Server. First i have created OLEDB Adapter in which i have passed select statement and connection string of MS Excel. Then i...
1
by: Devilxpto | last post by:
I need help on how to import a Flat file source into SQL database, but the name of the file (part of the name) changes everyday. How can I create a method to import the file everyday into a new table...
1
by: saguas | last post by:
Hello, I'm trying to import a databse from a oracle 9 to oracle10i. Oracle 10i, has a wizard to do that, but it is hasking me for host credentials. My oracle 9 is in a different server. What...
1
by: Bakarre | last post by:
To display a field from databse and calculate time different -------------------------------------------------------------------------------- Good day, i have problem to display a field from...
11
by: tokcy | last post by:
Hi everyone, I am new in php and ajax, i am facing the prob while i click on element of first drop down then in second dropdown all element showl come from database. I mean i have three dropdown 1....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.