当前位置:网站首页>视频平台如何将旧数据库导入到新数据库?
视频平台如何将旧数据库导入到新数据库?
2022-06-24 18:58:00 【华为云】
我们在此前的文章中和大家介绍过关于TSINGSEE青犀视频平台数据库切换、迁移等相关的技术操作文章,以及在操作过程中用户遇到的疑问解决,感兴趣的用户可以自行搜索了解。
在使用场景中,我们也会遇到用户现场需要升级或替换版本的需求,但是在操作过程中却出现了旧版本数据库无法使用的情况。那么这时候就需要在新的数据库中导入数据,具体应该如何操作?我们以EasyCVR平台为例,和大家详细介绍一下操作步骤。
1)在navicat中打开新旧版本的数据库easycvr.db文件,找到对应的5个表,如图:

2)以表DBChannelInfo为例,右击选择数据表,可以看到所有的属性:

与新版本流媒体软件的数据库easycvr.db文件进行对比,调整属性的位置,增加缺少的属性:

3)导出数据库,选择全部记录,注意,导出格式为SQL:


4)打开对应的新数据库的DBChannelInfo表,产出表内的所有记录,点击查询、新建查询:

将导出的表DBChannelInfo内容(Notepad++打开)复制到新建查询的页面,并运行,新表的内容即可复制完成。
5)保存数据库easycvr.db文件,并刷新EasyCVR平台登录页面,数据库导入步骤完成。
边栏推荐
- LCD12864 (ST7565P) Chinese character display (STM32F103)
- 60 个神级 VS Code 插件!!
- Teach you how to view the number of connected people on WiFi in detail how to view the number of connected people on WiFi
- Based on STM32F103 0.96 inch OLED LCD driver (IIC communication)
- SaltStack State状态文件配置实例
- Application practice | massive data, second level analysis! Flink+doris build a real-time data warehouse scheme
- The difference between the lazy man mode and the hungry man mode
- 程序员大部分时间不是写代码,而是。。。
- Openstack actual installation and deployment tutorial, openstack installation tutorial
- Some ideas about chaos Engineering
猜你喜欢

A detailed explanation of the implementation principle of go Distributed Link Tracking

微信小程序轮播图怎么自定义光标位置

【Go语言刷题篇】Go从0到入门4:切片的高级用法、初级复习与Map入门学习

Technology implementation | Apache Doris cold and hot data storage (I)

Five day summary of software testing

Todesk remote control, detailed introduction and tutorial

Starring V6 platform development take out point process

Bytebase rejoint la communauté de base de données open source d'alicloud polardb

Microsoft Office Excel 2013 2016 graphic tutorial on how to enable macro function

Kubernetes cluster deployment
随机推荐
Xiaodi class massive data processing business short chain platform
Q1: error in JMeter filename must not be null or empty
Mq-2 smoke concentration sensor (STM32F103)
PingCAP 入选 2022 Gartner 云数据库“客户之声”,获评“卓越表现者”最高分
Docker installing MySQL
Data backup and recovery of PgSQL
three. Basic framework created by JS
[go Language brossage] go from 0 to Getting started 4: Advanced use of slice, Primary Review and Map Getting started Learning
Write a positive integer to the node and return a floating-point number multiplied by 0.85 when reading the node
[computer talk club] Lecture 3: how to raise key issues?
Drawing DEM with GEE gracefully
【云驻共创】ModelBox隔空作画 绘制你的专属画作
Bytebase 加入阿里云 PolarDB 开源数据库社区
Xiaobai, let me ask you guys, is MySQL binlog extracted by CDC in strict order
Fundamentals of performance testing -- definitions of common terms
Microsoft Office Excel 2013 2016 graphic tutorial on how to enable macro function
Win7 10 tips for installing Office2010 five solutions for installing MSXML components
Get to know the data structure of redis - hash
Unity mobile game performance optimization spectrum CPU time-consuming optimization divided by engine modules
技术实现 | Apache Doris 冷热数据存储(一)