I've just installed Debian 9.9.0 with zoneminder 1.32.3 and I imported my old DB backup (it came from Ubuntu 18.04)
Code: Select all
mysql --user=root --password=[password] zm < ZMbackup.SQL
Code: Select all
ZM LOG:
TRIGGER command denied to user 'debian-sys-maint'@'localhost' for table 'Events_Month'
The user specified as a definer ('debian-sys-maint'@'localhost') does not exist
I tried to add a new user to mysql with the same root password, but it doesn't work...
Code: Select all
MariaDB [mysql]> select User,Password from mysql.user;
+------------------+-------------------------------------------+
| User | Password |
+------------------+-------------------------------------------+
| root | |
| zmuser | *C1D2D6FC5C596AFB19FFC4331DF6DAA287749A3E |
| debian-sys-maint | *B332BC835CE65A37167E623E25F1F660A850C7BE |
+------------------+-------------------------------------------+
how can I solve it?
may I use zmuser to connect to the db?
many thanks
Paolo