[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mysqldump import...



Hallo Marco,

* Marco Eisenhuth schrieb [24-03-06 15:49]:
> Ich hoffe, es ist nicht allzu OT hier...

Etwas.

> Es gibt hier eine MySQL-DB auf einer Windows-Kiste mit MySQL5.x,
> diese DB möchte ich gern auf einem Sarge-Server mit MySQL 4.x importieren.
> 
> ich bekomm folgende "Meldung":
> mx00:/tmp# mysqldump --tables -u USER -p DB123 < /tmp/exportfile.sql
> Enter password:

man mysqldump:

The mysqldump client can be used to dump a database or a collection
of databases for backup or for transferring the data to another SQL
server (not necessarily a MySQL server). The dump contains SQL
statements to create the table and/or populate the table.

Heisst: Nur Backup machen.

Einspielen kannst du es dann mit mysql:

# mysql -u USER -p DB123 < /tmp/exportfile.sql

Mit freundlichen Grüßen

Udo Müller

-- 
ComputerService Udo Müller              Tel.: 0441-36167578
Schöllkrautweg 16                       Fax.: 0441-36167579
26131 Oldenburg       info@cs-ol.de     Mobil: 0162-4365411



Reply to: