rpmspecfile README - update zmuser creation on newer sql's
This commit is contained in:
parent
b35e27d0b6
commit
fdbab5adc3
|
@ -15,9 +15,11 @@ NOTE: EL7 users should replace "dnf" with "yum" in the instructions below.
|
|||
set during the previous step, you will need to create the ZoneMinder
|
||||
database and configure a database account for ZoneMinder to use:
|
||||
|
||||
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
|
||||
mysql -uroot -p -e "grant all on zm.* to \
|
||||
'zmuser'@localhost identified by 'zmpass';"
|
||||
mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql
|
||||
mysql -u root -p -e "CREATE USER 'zmuser'@'localhost' \
|
||||
IDENTIFIED BY 'zmpass';"
|
||||
mysql -u root -p -e "GRANT ALL PRIVILEGES ON zm.* TO \
|
||||
'zmuser'@localhost;"
|
||||
mysqladmin -uroot -p reload
|
||||
|
||||
The database account credentials, zmuser/zmpass, are arbitrary. Set them to
|
||||
|
|
|
@ -13,9 +13,11 @@ New installs
|
|||
set during the previous step, you will need to create the ZoneMinder
|
||||
database and configure a database account for ZoneMinder to use:
|
||||
|
||||
mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
|
||||
mysql -uroot -p -e "grant all on zm.* to \
|
||||
'zmuser'@localhost identified by 'zmpass';"
|
||||
mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql
|
||||
mysql -u root -p -e "CREATE USER 'zmuser'@'localhost' \
|
||||
IDENTIFIED BY 'zmpass';"
|
||||
mysql -u root -p -e "GRANT ALL PRIVILEGES ON zm.* TO \
|
||||
'zmuser'@localhost;"
|
||||
mysqladmin -uroot -p reload
|
||||
|
||||
The database account credentials, zmuser/zmpass, are arbitrary. Set them to
|
||||
|
|
Loading…
Reference in New Issue