when i go to
https://myip:81/zm/
i get this...
Code: Select all
Could not connect to database: Access denied for user 'zmuser'@'localhost' (using password: YES)
Code: Select all
Could not connect to database: Access denied for user 'zmuser'@'localhost' (using password: YES)
Check in MySQL if this user exists, look the default password too: u:zmuser p:zmpasskingpikey wrote:forgot to mention, I followed the instructions I found here... followed the readme.
http://www.clarkconnect.com/forums/show ... art=2&vc=1
I'm trying to get this installed on ClarkConnect.
Thanks in advance.
This does mention ZM_DB_USER and ZM_DB_PASS, but this is for changing it at build time. If you have already built it, it does not tell you how to change it! I tried editing the zm.conf file and that seemed to work.To build ZoneMinder the first thing you need to do is run the included configure script to define some initial configuration. If you are happy with the default settings for the database host (‘localhost’), name (‘zm’), user (‘zmuser’) and password (‘zmpass’) then you can just type
./configure --with-webdir=<your> --with-cgidir=<your>
where --with-webdir is the directory to which you want to install the PHP files, and --with-cgidir is the directory to which you want to install CGI files. These directories could be /var/www/html/zm and /var/www/cgi-bin for example.
If you want to override any of the default database values then you can append them to the configure command, for example to use a database password of ‘zmnewpass’ do
./configure --with-webdir=<your> --with-cgidir=<your> ZM_DB_PASS=zmnewpass
and so on. The values you can use are ZM_DB_HOST, ZM_DB_NAME, ZM_DB_USER and ZM_DB_PASS. Other than the database name, which is substituted into the database creation script, these values can easily be changed after this step.