Link to home
Start Free TrialLog in
Avatar of dancablam
dancablam

asked on

Opposite of mysqlimport

How do you create files to import to mysqlimport? mysqldump create SQL of a given table/db, but mysqlimport needs some other form of data. How can I export from the mysql command-line in a format that can then be imported using mysqlimport?

Thanks,
Dan
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

mysqldump's export file can be simply put into mysql command line:
mysql [connnection options]  < mysqldumpfile.dmp

there is nothing AFAIK from mysql directly to generate files for mysqlimport as such.
Avatar of dancablam
dancablam

ASKER

I'm not interested in using mysqldump. I already know how to export/import via that utility. I wish to know how to export/import using the mysqlimport utility. Specifically, how do I export data that can be imported via mysqlimport?
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's exactly what I needed to know. Thanks!