Mysql XML table export command line

前端 未结 2 438
伪装坚强ぢ
伪装坚强ぢ 2021-01-07 13:32

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

2条回答
  •  一向
    一向 (楼主)
    2021-01-07 14:02

    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
    

提交回复
热议问题