Blind webhooks

2022-12-29   ES  

We previously talked about the SQLite database used by TSINGSEE Qinghica video development by default, and it is not recommended to replace the MySQL database because it may cause a series of problems after replacement. When some users start EasyNVR, they use mysql as a data source to start an error problem, as follows:

Analyze the error of the console during the startup: UNKNOW DRIVER “mysql” (forgotten import?), This error is to indicate that the driver file that is not connected to the MySQL data source is prompted.

So we checked the following code and found that the packet introduced in the initialization database did not introduce the driver package of mysql.

We configure the data source in Easynvr to check the introduced package. The place of EasynVR initialized database did not introduce the Drive package of mysql, so the driver package needs to be re -introduced.

mysql database GO driver installation steps are as follows:
Golang connected to the database user’s driver: Go-SQL-Driver

Installation method: Open the command line and execute the Go command:
go get -u

import (
   _ ""

Solving the effect, and successfully started with MySQL data source.

If you encounter problems during the Mysql database migration process, you can refer toMySQL Data Source How to deal with Gorm’s automatic migration database table to report an error. For more solutions about Easynvr or other video platforms, please contact us to understand.


Related Posts

How to adjust the proportion of CAD drawings in the layout?

116 ACM/ICPC Dalian Division F (Thinking+Two -point+Instant Yuan)

Vue app Right -slip screen Return to the previous page

elasticsearch: use Geoip processor to enrich data

Blind webhooks

Random Posts

vivado XDC constraint basic knowledge 13: Vivado uses misunderstandings and advanced -how to read and use Timing Report? Times

[Event processing] The content of the text box implemented by js changes immediately to trigger the event simply introducing the STU

Windows64 -bit system enters the debug mode

WINDOWS 64 cannot be installed Mysql-Python

Customized radio Sunshine of Radio Receptions