Maybe I\'m not seeing something here but WHY would this command line work perfectly fine and provide a result set when run on a LINUX command line but when executed from a W
Can you please try this...
C:\>mysql -u -p -e "SHOW VARIABLES LIKE '%version%'" –-xml
and this...
mysql -u db_user -p db_name --xml -e "SELECT * FROM table_name" > table_name.xml