-1

am using Mysql server version "MySQL Server 8.0". please help me, how to export and import mysql table to xml file, in windows command prompt.

thanks.

Shadow
  • 33,525
  • 10
  • 51
  • 64
doe
  • 27
  • 4

1 Answers1

0

Export $ mysql -uroot -p --xml -e 'SELECT * FROM rajdb.Tablename' > /tmp/raj.xml

Import mysql> LOAD XML /tmp/raj.xml INTO TABLE Tablename;

Rajkumar
  • 1,017
  • 9
  • 12