Re: import/export db from windows to linux
Nick (and others :),
I've had some difficulties recreating databases from mysqldump-files. When viewing the files created from mysqldump I see that they contain redundant (?) information and they are not purely SQL-formatted, am I right? I've managed to recreate databases after having all non-SQL information disposed, but this cannot be done when dealing with LARGE databases. So, when I saw your suggestion I immediately tried it out. I did something like this:
% mysqldump -u root -p some_database > some_database2005-03-26.sql
then I logged on typing
% mysql -u root -p
mysql>create database some_other_database;
mysql>use some_other_database;
mysql>source path/to/some_database2005-03-26.sql;
But I get an error 22: "Failed to open file...". This happens both when the generated sql-file is outside of the mysql directory as well as inside.
Can you (or anybody else) help me?
By the way I'm using mysql 4.0.12 on a win xp machine.
Thanks!
Uffe
Subject
Written By
Posted
February 02, 2005 10:47AM
February 02, 2005 10:59AM
February 02, 2005 11:11AM
February 02, 2005 07:49PM
Re: import/export db from windows to linux
March 26, 2005 08:32AM
February 02, 2005 08:59PM
February 03, 2005 09:08AM
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.