您好,欢迎来到曲格情感。
搜索
您的当前位置:首页mysql会员数据导入导出_MySQL

mysql会员数据导入导出_MySQL

来源:曲格情感


系统迁移或者更换的时候用到的,特别注意里面的引号,很容易弄错了。

旧会员导出

select 'uid','username','password','email','salt' union select

'uid','username','password','email','salt' from 'uc_members' into

outfile '/score.sql'

导入

load data infile '/score.sql'

into table `chbwzstb_users`

character set utf8

fields terminated by '\t'

lines terminated by '\n'

ignore 1 lines

(`uid`, `username`, `password`, `email`, `salt`);

Copyright © 2019- qugedi.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务