From 95a04802167b8621bb4371ef8b210765c51a7da3 Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Sat, 5 Oct 2013 19:41:28 -0500 Subject: [PATCH] Update README.Fedora --- distros/fedora/README.Fedora | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/distros/fedora/README.Fedora b/distros/fedora/README.Fedora index a94100868..800b52844 100644 --- a/distros/fedora/README.Fedora +++ b/distros/fedora/README.Fedora @@ -111,7 +111,21 @@ Upgrades information. Comparing /etc/zm.conf and /etc/zm.conf.rpmnew should help to do this. -2. You will need to upgrade the ZoneMinder database as described in the - manual. This command should be sufficient when run as root: +2. Add the mysql ALTER permission to the zmuer account: - zmupdate.pl --user=root --pass= --version= + mysql -u root -p + grant alter on zm.* to + 'zmuser'@localhost identified by 'zmpass'; + + Since this is an upgrade, the assumption is that the zmuser account already has + select, insert, update, and delete permission. + +3. You will need to upgrade the ZoneMinder database as described in the + manual. Only if the previous step was succesful, you may run zmupdate like so: + + sudo zmupdate.pl --version= + + + If unsure then run it this way: + + sudo zmupdate.pl --user=root --pass= --version=