Home Database Mysql Tutorial mysql会员数据导入导出_MySQL

mysql会员数据导入导出_MySQL

May 30, 2016 pm 05:11 PM
member data

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

 

旧会员导出

 

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`);

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to buy WeChat reading membership cheaply? Share the best way to buy membership on WeChat Reading! How to buy WeChat reading membership cheaply? Share the best way to buy membership on WeChat Reading! Mar 16, 2024 am 08:22 AM

How to buy WeChat reading membership cheaply? Share the best way to buy membership on WeChat Reading!

Use ddrescue to recover data on Linux Use ddrescue to recover data on Linux Mar 20, 2024 pm 01:37 PM

Use ddrescue to recover data on Linux

Open source! Beyond ZoeDepth! DepthFM: Fast and accurate monocular depth estimation! Open source! Beyond ZoeDepth! DepthFM: Fast and accurate monocular depth estimation! Apr 03, 2024 pm 12:04 PM

Open source! Beyond ZoeDepth! DepthFM: Fast and accurate monocular depth estimation!

Google is ecstatic: JAX performance surpasses Pytorch and TensorFlow! It may become the fastest choice for GPU inference training Google is ecstatic: JAX performance surpasses Pytorch and TensorFlow! It may become the fastest choice for GPU inference training Apr 01, 2024 pm 07:46 PM

Google is ecstatic: JAX performance surpasses Pytorch and TensorFlow! It may become the fastest choice for GPU inference training

The vitality of super intelligence awakens! But with the arrival of self-updating AI, mothers no longer have to worry about data bottlenecks The vitality of super intelligence awakens! But with the arrival of self-updating AI, mothers no longer have to worry about data bottlenecks Apr 29, 2024 pm 06:55 PM

The vitality of super intelligence awakens! But with the arrival of self-updating AI, mothers no longer have to worry about data bottlenecks

Instructions for automatic renewal and cancellation of Kugou Music APP membership Instructions for automatic renewal and cancellation of Kugou Music APP membership Mar 19, 2024 pm 07:28 PM

Instructions for automatic renewal and cancellation of Kugou Music APP membership

How to get Bilibili membership for free? Free for big members of B station How to get Bilibili membership for free? Free for big members of B station Mar 15, 2024 pm 05:00 PM

How to get Bilibili membership for free? Free for big members of B station

Slow Cellular Data Internet Speeds on iPhone: Fixes Slow Cellular Data Internet Speeds on iPhone: Fixes May 03, 2024 pm 09:01 PM

Slow Cellular Data Internet Speeds on iPhone: Fixes

See all articles