Re: mysqldump ?



Never mind, I needed to use the --compatable=mysql40 switch.

On Wed, 17 Jan 2007 14:55:40 +0000, Terry A Haimann wrote:

I am having trouble moving several of my databases from my linux server to
my win/xp laptops.

My Linux box is running mysql 4.1.11 and the laptops are running 4.0.26-nt.


When I had 3.23 on the windows boxes, I used to be able to run something
like the following from the linux server:

mysqldump -u user --password=password MyDatabase > mydb.txt

and then at the mysql prompt on the windows boxes do the following

use mydb
\. mydb.txt


And the data would import successfully.

Now the table creation aspect of the dump no longer works. I am having to
go back to the database creation scripts that I originally wrote on the
linux box, run them and then cut and paste the inserts into a seperate
document and then execute them individually.

There has to be an easier way to move my data to the windows boxes.

Thx in advance, Terry

.



Relevant Pages

  • Re: Parallel Print Server
    ... I had to do this because our Win/xplaptops would lose their ... connections to the samba printer every time they reboot. ... Is it possible for my linux box to print to this ... Or you could have had the windows boxes run a script from their ...
    (linux.redhat)
  • Re: Hacked NT/2K box
    ... Subject: Hacked NT/2K box ... I have been in encounters with many windows boxes that have been compromised ... > the same way as a Linux or Solaris box. ... What technique did the attacker ...
    (Focus-Microsoft)
  • Re: [opensuse] Anti-virus in Linux (openSUSE 11.1), is it required ?
    ... main purpose for AV on Linux is when it's used a server for Windows boxes. ... Viruses are not an issue for Linux. ... pointless to have a firewall running on a desktop behind one. ... There's a small chance if there's an infected windows machine on the ...
    (SuSE)
  • Re: [SLE] [General] Rules for firewall?
    ... > One Linux server with NFS ... except the windows boxes unless you run cgywin ... > The firewall is to be locked down for user login only via ssh. ... > Any pointers on where to start learning? ...
    (SuSE)
  • Re: Windows 2003 (SBS) intermittently stops answering linux box
    ... I have a network consisting of a windows SBS server, ... Every once in a while, for several hours, the Linux box is unable to ... from the other Windows boxes during these time periods. ...
    (microsoft.public.win2000.networking)