summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/zoneminder/files/README.gentoo')
-rw-r--r--www-misc/zoneminder/files/README.gentoo12
1 files changed, 6 insertions, 6 deletions
diff --git a/www-misc/zoneminder/files/README.gentoo b/www-misc/zoneminder/files/README.gentoo
index 07995214d1c..8713fda6f78 100644
--- a/www-misc/zoneminder/files/README.gentoo
+++ b/www-misc/zoneminder/files/README.gentoo
@@ -3,12 +3,12 @@
(see https://wiki.gentoo.org/wiki/MySQL/Startup_Guide).
E.g., when logged into mysql as root,
mysql> CREATE DATABASE \`zm\`;
- mysql> GRANT ALL ON zm.* TO 'zmuser'@'localhost' IDENTIFIED BY 'topsecretpassword';
+ mysql> grant select,insert,alter,update,lock tables,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
+ mysql> flush privileges;
Once you completed that you should execute the following:
- cd /usr/share/zoneminder
- mysql -u zmuser -p < db/zm_create.sql
+ mysql -p < /usr/share/zoneminder/db/zm_create.sql
-2. Set your database settings in /etc/zm.conf, including above topsecretpassword
+2. Set your database settings in /etc/zm.conf, including above zmpass
3. Configure apache to use zoneminder, see /usr/share/doc/zoneminder*/10_zoneminder.conf
for an example configuration snippet.
@@ -23,5 +23,5 @@
6. Finally point your browser to http://your.webserver/zm
-If you are upgrading, you will need to run the zmupdate.pl script:
- /usr/bin/zmupdate.pl --version=oldversionnumber [--user=zmuser --pass=topsecretpassword]
+If you are upgrading, you will need to run the zmupdate.pl script:
+ /usr/bin/zmupdate.pl