Update README.CentOS
parent
95a0480216
commit
665638cabb
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue