Update README.Fedora

pull/200/merge
Andy Bauer 2013-10-05 19:41:28 -05:00
parent a09d690a1c
commit 95a0480216
1 changed files with 17 additions and 3 deletions

View File

@ -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=<mysql_root_pwd> --version=<from 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=<from version>
If unsure then run it this way:
sudo zmupdate.pl --user=root --pass=<mysql_root_pwd> --version=<from version>