Code: Select all
Can't insert event: The user specified as a definer ('debian-sys-maint'@'localhost') does not exist. sql was (INSERT INTO Events ( MonitorId, StorageId, Name, StartDateTime, Width, Height, Cause, Notes, StateId, Orientation, Videoed, DefaultVideo, SaveJPEGs, Scheme ) VALUES ( 1, 2, 'New Event', from_unixtime( 1608431738 ), 2560, 1440, 'Continuous', '', 1, 1, 0, '', 3, 'Medium' )) zm_event.cpp line 111
I'm assuming I copied something over with the DB that includes this user, for whatever reason, so I did some searching and learned that some table views have a definer. If this is the issue, how do I find out? I tried a few commands I'd found online, but they listed 0 views in the DB.
Not sure where to go next. Any help would be appreciated.