当前位置:网站首页>How does the video platform import the old database into the new database?

How does the video platform import the old database into the new database?

2022-06-24 19:58:00 Hua Weiyun

In our previous article, we introduced to you about TSINGSEE Green rhino video platform database switching 、 Migration and other related technical operation articles , And solve the problems encountered by users during the operation , Interested users can search by themselves .

In use scenarios , We will also meet the needs of users who need to upgrade or replace the version , However, during the operation, the old version of the database cannot be used . At this time, you need to import data into the new database , How to operate it ? We use EasyCVR Platform as an example , Introduce the operation steps in detail .

1) stay navicat Open the old and new versions of the database in easycvr.db file , Find the corresponding 5 Tables , Pictured :

1c268dd6f2db83aba2943567a4a9b4b1.png

2) By table DBChannelInfo For example , Right click to select data table , You can see all the properties :

7b38b5636224a91c57de3bca62a73900.png

And the database of the new version of streaming media software easycvr.db Documents for comparison , Adjust the position of the attribute , Add missing attributes :

0d7447cc6a5e048b52e913414ee604e8.png

3) Export database , Select all records , Be careful , The export format is SQL:

2.jpg

5ad539449f75ea774eb8da94c768012a.png

4) Open the corresponding new database DBChannelInfo surface , All records in the output table , Click to query 、 New query :

73766db14bceed477ce9bddf840e1a4c.png


Tables to be exported DBChannelInfo Content (Notepad++ open ) Copy to the new query page , And run , The contents of the new table can be copied .

5) Save database easycvr.db file , And refresh EasyCVR Platform login page , Database import step completed .


原网站

版权声明
本文为[Hua Weiyun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241814275528.html