You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the audit_database.php script the script will appear to run however the MySQL commands actually fails and the audit schema does not load
tested on other installs it works just fine but if there is a } in the cacti password it fails
If I remove
-p from the below block and enter the db password when prompted it works just fine
when I test the login at the cli I need to wrap the password in single quotes
netniV
changed the title
[1.2.20] - when running audit_database.php script will fail if cacti password had a ) in it
Unable to audit the database if database password contains a bracket
Dec 31, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running the audit_database.php script the script will appear to run however the MySQL commands actually fails and the audit schema does not load
tested on other installs it works just fine but if there is a } in the cacti password it fails
If I remove
-p from the below block and enter the db password when prompted it works just fine
when I test the login at the cli I need to wrap the password in single quotes
sh: -c: line 0: syntax error near unexpected token
)' sh: -c: line 0:
mysql -ucacti -p -hlocalhost -P3306 cacti < /var/www/html/cacti/docs/audit_schema.sql'FATAL: Failed Load the Audit Schema
The text was updated successfully, but these errors were encountered: