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
In testing, I have found that when using CLI script on the Remote Data Collectors in 1.2.19, the script only connect to the local database, which is a good thing with some CLI script, but not all. This behavior needs to be changed for the release.
In many scripts to connect to the main collector when online, and fail if the main data collector is offline.
For other scripts, there should be an option of running local, for scripts like database_repair.php and analyze_database.php, and convert_tables.php.
Expected behavior
More consistent behavior in scripts.
The text was updated successfully, but these errors were encountered:
- 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
netniV
changed the title
Remote Data Collector CLI scripts connect to the local database instead of the main database even when online
When using CLI, Remote Data Collector scripts may connect to the wrong database
Apr 3, 2022
Describe the bug
In testing, I have found that when using CLI script on the Remote Data Collectors in 1.2.19, the script only connect to the local database, which is a good thing with some CLI script, but not all. This behavior needs to be changed for the release.
database_repair.php
andanalyze_database.php
, andconvert_tables.php
.Expected behavior
More consistent behavior in scripts.
The text was updated successfully, but these errors were encountered: