New Install with DB on remote host - debian-sys-maint
Posted: Sun Dec 20, 2020 2:40 am
I just installed zoneminder 1.35.16 on Ubuntu 20.04, without any issues, it seemed. Once installed, I migrated the newly created DB to a mysql VM where I keep most DB's. Zoneminder starts, I can add cameras, etc... but when I try to create a zone, nothing happens. The log states:
I no longer have a mysql server on the zoneminder host, so I'm not really sure where zoneminder is getting this user from, aside from /etc/mysql/debian.cnf. Why would zoneminder be ignoring the zm.conf file for some DB calls?
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.
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.