mysql会员数据导入导出
2025-07-22 09:55 点击:0
系统迁移或者更换的时候用到的,特别注意里面的引号,很容易弄错了。旧会员导出select 'uid','username','password','email','salt' union select'uid','username','password','email','salt' from 'uc_members' intooutfile '/score.sql'导入load data infile '/score.sql'into table `chbwzstb_users`character set utf8fields terminated by '\t'lines terminated by '\n'ignore 1 lines(`uid`, `username`, `password`, `email`, `salt`);