当前位置:网站首页>MySQL statistical bill information (Part 2): data import and query
MySQL statistical bill information (Part 2): data import and query
2022-07-01 12:52:00 【51CTO】
Last one mysql Statistics of billing information ( On ):mysql Installation and client DBeaver Connection to use It introduces mysql5.7 Installation and client DBeaver Connection configuration , This article continues with an article , Introduce data import and query Export .
One 、excel Import
The import of data can be excel It can also be a guide library , Let me introduce excel Import the way
1. turn csv
take xlsx Format conversion to csv Pattern
2. transcoding
Use notepad Open and transcode as UTF-8

3. Guide table

take excel Import database

next step

Select mobile statement

next step



Report errors :

The reason for this error is unauthorized , Authorization is enough
4. Table view

Table data viewing

Two 、 Recover database
This section demonstrates restore Import data in database mode



Select the... To import sql file , Perform import , Authorization is required before importing
Perform import

The import process may involve max_allowed_packet Numerical adjustment , Set up max_allowed_packet Higher value


Refresh the view

see yd_csv Table structure :
Move the full scale details :

3、 ... and 、 Move query statement
The query statement is based on restore Imported library table , It can also be imported excel, Here is an example of the former
1. Query statement
2. Query results

3. Query result export





Select the output directory and file name format



Export as follows :

边栏推荐
- R language uses conf of yardstick package_ The mat function calculates the confusion matrix of the multiclass model on each fold of each cross validation (or resampling), and uses the summary to outpu
- 逆向调试入门-PE结构-输入表输出表05/07
- Need your own cognition
- 基于开源流批一体数据同步引擎 ChunJun 数据还原 —DDL 解析模块的实战分享
- MHA high availability cluster deployment and failover of database
- 数字化转型再下一城,数字孪生厂商优锘科技宣布完成超3亿元融资
- 请问flink mysql cdc 全量读取mysql某个表数据,对原始的mysql数据库有影响吗
- 下半年还有很多事要做
- 我选的热门专业,四年后成了“天坑”
- Using burpsuite to capture app packages
猜你喜欢

I spent tens of thousands of dollars to learn and bring goods: I earned 3 yuan in three days, and the transaction depends on the bill

Detailed explanation of OSPF LSA of routing Foundation

Function test process in software testing

【脑洞大开】《西潮》及《走向世界丛书》
![leetcode:241. Design priority for operation expression [DFS + Eval]](/img/d0/8dedeba7ecedccd25e0e3e96ff3362.png)
leetcode:241. Design priority for operation expression [DFS + Eval]

79. 单词搜索【dfs + 回溯visit + 遍历起点】
![[brain opening] west tide and going to the world series](/img/b2/444af296e170d19629800b3d4c50fa.jpg)
[brain opening] west tide and going to the world series

MHA high availability cluster deployment and failover of database

使用nvm管理nodejs(把高版本降级为低版本)

nexus搭建npm依赖私库
随机推荐
Fundamentals of number theory and its code implementation
[brain opening] west tide and going to the world series
Update a piece of data from the database. Will CDC get two pieces of data with OP fields D and C at the same time? I remember before, only OP was U
Zero copy technology of MySQL
Tencent security and KPMG released a regulatory technology white paper to analyze the "3+3" hot application scenarios
使用nvm管理nodejs(把高版本降级为低版本)
我花上万学带货:3天赚3元,成交靠刷单
有人碰到过这种情况吗,oracle logminer 同步的时候,clob字段的值丢失
Topic 1004: the story of cows (recursion)
Class initialization and instantiation
阿霍的三个阶段
Run PowerShell script prompt "because running script is prohibited on this system" solution
Teach you to complete the actual battle of image classification hand in hand -- Image Recognition Based on convolutional neural network
【牛客刷题-SQL大厂面试真题】NO2.用户增长场景(某度信息流)
Queue operation---
Manage nodejs with NVM (downgrade the high version to the low version)
工具箱之 IKVM.NET 项目新进展
Topic 2612: the real topic of the 12th provincial competition of the Blue Bridge Cup in 2021 - the least weight (enumerating and finding rules + recursion)
leetcode:241. Design priority for operation expression [DFS + Eval]
華為面試題: 招聘