Skip to content

Commit 1ba4902

Browse files
committed
Refined schema script for MySQL & MariaDB
consolidation of 25 raw source code scripts refined for MySQL & MariaDB
1 parent 86a5f71 commit 1ba4902

File tree

2 files changed

+5555
-8294
lines changed

2 files changed

+5555
-8294
lines changed

.github/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- version 3.0.0 - 01/28/2025 - IP Geolocation integration, several table & column renames, many process refinements
1313
- version 3.2.0 - 02/01/2025 - MariaDB compatible and Log Rotation
1414
- version 3.2.5 - 02/06/2025 - Log Generator Stress Test Improvements
15+
- version 3.2.6 - 02/14/2025 - consolidation of 25 source code scripts refined for MySQL & MariaDB
1516
- [1.0.1] apache_logs.error_systemCodeID corrected line - INTO logsystemCode to INTO logsystemCodeID
1617
- [1.0.1] remove debugging - SELECT statement from apache_logs.process_access_import, process_error_import & normalize_useragent.
1718
- [1.0.1] remove whitespace and commented out old code on all stored programs
@@ -115,4 +116,8 @@
115116
- [3.2.5] modify TABLE `import_load` added six columns for process execution durations in seconds.
116117
- [3.2.5] modify `logs2mysql.py` reworked all process message logging verbiage to provide child process summary information at each phase. Running log generator stress tests flushed this out.
117118
- [3.2.5] modify `logs2mysql.py` reduced number of cursor objects created by reusing only two cursor objects. Reduced all variables for import_file TABLE processing using same variables for all.
118-
- [3.2.5] modify TABLES `access_log_useragent` and `log_client` added indexes for use in `logs2mysql.py` processing.
119+
- [3.2.5] modify TABLES `access_log_useragent` and `log_client` added indexes for use in `logs2mysql.py` processing.
120+
- [3.2.6] created new Python script to generate `apache_logs_schema.sql` from the 25 refined development source code scripts. Prior to this version file was generated by MySQL Workbench.
121+
- [3.2.6] repository had MySQL Workbench generated script that added CHARSET and COLLAT. The raw source code scripts did not specify CHARSET or COLLATE. Raw source code scripts worked fine on MySQL and MariaDB testing.
122+
- [3.2.6] MySQL 9.1 default is CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci. MariaDB 11.6 default is CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci. COLLATE=utf8mb4_0900_ai_ci does not exist in MariaDB causing script errors.
123+
- [3.2.6] The solution that works for both MySQL and MariaDB is only specify CHARSET=utf8mb4. If CHARACTER SET charset_name is specified without COLLATE, character set charset_name and its default collation are used.

0 commit comments

Comments
 (0)