Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 MySQL 服务器版本“MySQL Server 8.0”。请帮助我,如何在 Windows 命令提示符中将 mysql 表导出和导入到 xml 文件。
谢谢。
导出 $ mysql -uroot -p --xml -e 'SELECT * FROM rajdb.Tablename' > /tmp/raj.xml
导入 mysql> LOAD XML /tmp/raj.xml INTO TABLE 表名;