I have MX Linux 21.3 as my OS, installed phpMyAdmin, but when tried to login, got an error.
tried to install ZoneMinder got an error with DB connection, installed phpMyAdmin to facilitate adding/changing users/privileges, could install phpMyAdmin without problem, but when tried to login, got the following error: (please see the screenshot below), and I followed this post to install phpMyAdmin.
ps: I did change the $cfg[‘blowfish_secret’] = ‘mypassword’; in /var/www/html/phpMyAdmin/config.inc.php, what I’m doing wrong?
2
Answers
Without more context, this is difficult to answer outside of assumptions. Regardless, I hope this helps.
The impression I get from the data you provided makes me infer the problem would just be the root password.
I would point out that the root password and the passphrase under $cfg[‘blowfish_secret’] are not necessarily the same thing according to the document you shared.
If you are able to login via command-line passwordless.
You can then reset the password yourself
blowfish_secret
is related to the web UI connection, not the database one.zoneminder doesn’t use database users to control access so phpmyadmin not needed.
To reset password of the root account, and CREATE A SEPARATE ZONEMINDER ACCOUNT;
Ensure the zm configuration (
/etc/zm/zm.conf
?) uses these authentication of thezmuser
.from step 7 of zm install.