摘要:
语法格式:mysqldump -u root -ppassword --xml | -X dbname table > 路径文件名 注意:后面不能有 ; 号,不然会报错。X大小写都可以 方法一: mysqldump -u root -p123 --xml see cr01 > C:\Users\de 阅读全文
摘要:
语法格式: mysqldump -u root -ppassword -T 目标目录 dbname table [ option ]; 注意,T是大写 password:表示root用户的密码,和 -p 挨着,中间没有空格; 目标目录:指导出的文本文件的路径; dbname:表示数据库的名称; ta 阅读全文
摘要:
可以使用select……into outfile导出txt、excel等格式的文件 语法格式: select [ 列名 ] from table [ where 语句 ] into outfile ‘目标文件’ [ option ]; 语句可以分为两个部分,前面是一个普通的select查询语句,通过 阅读全文