* Miss to report text/mediumtext column due to typo
* Update CHANGELOG for PR#4732
* Make '--alters' output is normal SQL text
Co-authored-by: TheWitness <thewitness@cacti.net>
- Remote Data Collector CLI scripts connect to the local database instead of the main database even when online
- Add PHP Doc style documentation to lib/database.php
- Add missing $log and $db_conn to one function
* feature 3965, Add a value check if the input field is textbox in settings
* feature 3965, revert
* Fix#3999
* Refix issue #3999, wrap mysqldump into db_dump_data()
* Fix issue #3999, update the db_dump_data() to minimize password be caught.
Co-authored-by: yboliu <yboliu@oc8636837557.ibm.com>
* Fixed: audit_database.php Invalid parameter number: no parameters were bound
* Fixed: audit_database.php set macro IN_PLUGIN_INSTALL to skip cache of db_column_exists function
* The audit_database.php script will only modify columns, and add indexes, it does not add column
* There will likely be one more update to this before it's done. There are a few cases not working 100% yet.
Issue #1447: Cli audit_database.php not detecting database name, and failed to create audit tables when run from fresh due to invalid indxees.
MySQL was complaining about the key not all being NOT NULL for a PRIMARY key as opposed to being UNIQUE
The utility includes the options:
--report, --alters, --report, --repair, and --load (for developers)
The load will create the default tables from the current schema. The
developer who runs with the --load option is still responsible for
loading the 'revised' table contents into the two string variables
though. The --repair option will repair all tables and would be
suitable for the installers purposes.