Why is the error 1146 reported when the video fusion platform EasyCVR migrates the database? How to solve it?

The EasyCVR video fusion platform is based on the cloud-edge-device collaboration architecture and has powerful data access, processing and distribution capabilities. The platform supports multi-protocol access, including: national standard GB28181, RTMP, RTSP/Onvif, Hikvision Ehome, Hikvision SDK, Dahua SDK, Uniview SDK, etc., and can distribute multi-format video streams externally, including RTSP, RTMP, FLV, HLS, WebRTC, etc.

We have also introduced technical articles about database replacement on the EasyCVR platform in previous articles. EasyCVR defaults to the SQLite database and supports users to switch to the MySQL database. Users can refer to previous articles to learn about the replacement steps and common problems. Today we will share the solution to the error reporting problem of the database migration server.

User feedback, EasyCVR uses Mysql database to migrate to another server. When the service creates a database connection, an error occurs and the service fails to start. The error is as follows:

The database reports error 1146, indicating that the database table name is case-sensitive. The solution steps are as follows:

1) Modify the table name

  • Change the device table name to: Device
  • Change the dbchannelinfo table name to: DBChannelInfo
  • Change the dbchannelinfoerrmsg table name to: DBChannelInfoErrMsg

2) Modify the database configuration

When querying the previous database, it is indeed an error caused by the parameter lower_case_table_names=0, as shown in the figure:

3) The error reporting problem can be solved by modifying the database lower_case_table_names=1.

EasyCVR has strong compatibility and high degree of expansion. The platform can gather, integrate and centrally manage scattered video resources in a complex network environment. It supports device tree, device hierarchical group management, authority/role assignment, and supports device Status monitoring, fortune cloud operation and maintenance, etc. In terms of video playback, the platform supports 720P/1080P high-definition screen display, the video starts in seconds, the screen is smooth, no freeze, no frame drop, supports single screen, multi-screen, you can choose any one or multiple channels of video to watch, the number of video windows is 1 , 4, 9, 16 optional. Interested users can go to the demonstration platform for experience or deployment testing.

Guess you like

Origin blog.csdn.net/EasyNVS/article/details/131330232