diff --git a/docs/installationguide/debian.rst b/docs/installationguide/debian.rst index 8f11086b7..eabdfe595 100644 --- a/docs/installationguide/debian.rst +++ b/docs/installationguide/debian.rst @@ -48,9 +48,9 @@ Switch into root user and create database and database user sudo su mariadb CREATE DATABASE zm; - CREATE user - grant permission - flush privilege + CREATE USER zmuser@localhost IDENTIFIED BY 'zmpass'; + GRANT ALL ON zm.* TO zmuser@localhost; + FLUSH PRIVILEGES; exit; exit @@ -83,6 +83,7 @@ To make sure zoneminder can read the configuration file, run the following comma :: sudo a2enconf zoneminder + sudo systemctl reload apache2.service sudo systemctl reload zoneminder.service sudo systemctl restart zoneminder.service sudo systemctl status zoneminder.service