Add reference to mysql Create permission in rpm README's

This commit is contained in:
Andy Bauer 2015-08-29 14:01:45 -05:00
parent ef8830b373
commit d9c3061b52
3 changed files with 10 additions and 10 deletions

View File

@ -25,8 +25,8 @@ New installs
introduce an obvious security issue. The following should set this up:
mysql -u root -p
grant select,insert,update,delete,lock tables,alter on zm.* to
'zmuser'@localhost identified by 'zmpass';
grant select,insert,update,delete,lock tables,alter,create
on zm.* to 'zmuser'@localhost identified by 'zmpass';
Obviously, change at least zmpass to an actual, secure password or
passphrase. You can change zmuser as well if you like.
@ -95,7 +95,7 @@ Upgrades
2. Add additional permissions to the zmuser account:
mysql -u root -p
grant lock tables,alter on zm.* to
grant lock tables,alter,create on zm.* to
'zmuser'@localhost identified by 'zmpass';
Since this is an upgrade, the assumption is that the zmuser account already

View File

@ -15,8 +15,8 @@
mysql -uroot -p
mysql> create database zm;
mysql> grant select,insert,update,delete,lock tables,alter on zm.* to
'zmuser'@localhost identified by 'zmpass';
mysql> grant select,insert,update,delete,lock tables,alter,create
on zm.* to 'zmuser'@localhost identified by 'zmpass';
mysql> exit;
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysqladmin -uroot -p reload
@ -69,7 +69,7 @@
1. Add additional permissions to the zmuser account:
mysql -u root -p
grant lock tables,alter on zm.* to
grant lock tables,alter,create on zm.* to
'zmuser'@localhost identified by 'zmpass';
Since this is an upgrade, the assumption is that the zmuser account exists

View File

@ -36,8 +36,8 @@ New installs
mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql
mysql -u root -p
mysql> grant select,insert,update,delete,lock tables,alter on zm.* to
'zmuser'@localhost identified by 'zmpass';
mysql> grant select,insert,update,delete,lock tables,alter, create
on zm.* to 'zmuser'@localhost identified by 'zmpass';
mysql> exit;
mysqladmin -u root -p reload
@ -101,8 +101,8 @@ Upgrades
Overtime, the database account permissions required for normal operation
have changed. Verify the zmuser database account has been granted select,
insert, update, delete, lock tables, and alter permission to the ZoneMinder
database:
insert, update, delete, lock tables, alter, and create permission to the
ZoneMinder database:
mysql -u root -p
mysql> show grants for zmuser@localhost;