当前位置:网站首页>Exportation et importation de tables de bibliothèque avec binaires MySQL
Exportation et importation de tables de bibliothèque avec binaires MySQL
2022-07-03 06:03:00 【Uu Yang.】
【mysqldump】ExportersqlScript,Non disponibleselectExporter certains champs
Exporter
>mysqldump -hlocalhost -P3307 -uroot -p123456 mydb mytable --where="id = 412123456" --hex-blob --add-drop-table=false --add-locks=false --no-create-info=true>"d:\export.sql"
Importer
>mysql -hlocalhost -P3307 -uroot -p123456 mydb <export.sql
Ou d'abord.mysqlConnexion,BasculerDB,Mise en œuvresource export.sql
【sql】Exporter des données,Peut être utiliséselectDéclarations
select id, c1, c2, c3, c4, c5, c6, c7, c8 from mydb.mytable limit 100 into outfile
'C:/ProgramData/MySQL/MySQL Server 5.7/Uploads/out.csv' fields Terminated by',' lines terminated by'\r\n';
Importer
load data infile 'C:/ProgramData/MySQL/MySQL Server 5.7/Uploads/out.csv' into table mydb.mytable
【mysql】Exporter des données,Peut être utiliséselect
mysql -h192.168.1.12 -P3307 -uroot -p123456 test -e "select id,name,age from usertable" > d:\users.csv
边栏推荐
- Kubernetes notes (IV) kubernetes network
- [teacher Zhao Yuqiang] the most detailed introduction to PostgreSQL architecture in history
- Strategy pattern: encapsulate changes and respond flexibly to changes in requirements
- PHP notes are super detailed!!!
- [teacher Zhao Yuqiang] MySQL flashback
- Using the ethtool command by example
- Core principles and source code analysis of disruptor
- 88. Merge two ordered arrays
- Beandefinitionregistrypostprocessor
- Jetson AgX Orin platform porting ar0233 gw5200 max9295 camera driver
猜你喜欢
![[teacher Zhao Yuqiang] Flink's dataset operator](/img/cc/5509b62756dddc6e5d4facbc6a7c5f.jpg)
[teacher Zhao Yuqiang] Flink's dataset operator

Today, many CTOs were killed because they didn't achieve business

Kubernetes notes (II) pod usage notes

Code generator - single table query crud - generator

Kubernetes cluster environment construction & Deployment dashboard

Life is a process of continuous learning

Solve the 1251 client does not support authentication protocol error of Navicat for MySQL connection MySQL 8.0.11

2022.DAY592

The most responsible command line beautification tutorial

Detailed explanation of contextclassloader
随机推荐
Maximum likelihood estimation, divergence, cross entropy
Solve the problem that Anaconda environment cannot be accessed in PowerShell
智牛股项目--04
Understand the first prediction stage of yolov1
Txt document download save as solution
Simple solution of small up main lottery in station B
项目总结--04
Download the corresponding version of chromedriver
Capacity expansion mechanism of map
chromedriver对应版本下载
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
从小数据量 MySQL 迁移数据到 TiDB
[advanced pointer (2)] | [function pointer, function pointer array, callback function] key analysis + code explanation
Es 2022 officially released! What are the new features?
Today, many CTOs were killed because they didn't achieve business
Apt update and apt upgrade commands - what is the difference?
Deep learning, thinking from one dimensional input to multi-dimensional feature input
Kubernetes notes (II) pod usage notes
Kubernetes notes (III) controller
Code generator - single table query crud - generator