My WaR WiTh WoRdS

Making Xml dump of MySQL

Posted in Life, Linux, Special by Ankur on March 18th, 2008

Yesterday when i was trying/searching for a way to generate XML file from PHP so as to use it in Project 11, i came across a way to make a direct database/table dump from mysql and its damn easy all you have to do is type
mysqldump -u username -p --xml databasename > data.xml
and it will dump whole database into the data.xml file enjoy!!!!
PS:- Info about Project 11 coming up…..

Leave a Reply