Update README.CentOS

pull/200/merge
Andy Bauer 2013-10-05 19:44:32 -05:00
parent 95a0480216
commit 665638cabb
1 changed files with 16 additions and 5 deletions

View File

@ -51,12 +51,23 @@
UPGRADES
================================================================================
1. You will need to upgrade the ZoneMinder database as described in the
manual. This command should be sufficient:
1. Add the mysql ALTER permission to the zmuser account:
sudo 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';
It is recommended to backup your database and then upgrade your tables
to InnoDB when prompted.
Since this is an upgrade, the assumption is that the zmuser account already has
select, insert, update, and delete permission.
2. You will need to upgrade the ZoneMinder database as described in the
manual. Only if the previous step was succesful, may you 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>