Closed kzajaczkowski closed 6 months ago
@mwallace582, thank you for reviewing and merging #173. Please let me know if there's something I could do to have a new alpha release of 1.7 that would include these changes.
I'll work on releasing 1.7.0
. I don't think it's necessary to keep releasing alpha versions at this point.
I've just released 1.7.0. Let me know if you encounter any issues.
Describe the bug
This is about
dbt-mysql
in version1.7.0a1
.Starting with mysql version 8, the default and recommended collation for charset
utf8mb4
isutf8mb4_0900_ci_ai
. When inspectingmysql.general_log
after running anydbt
command, the following entry appears:This leads to errors of mismatched collations when server setting is different from utf8mb4_general_ci.
Steps To Reproduce
Set up general_log:
Run any dbt command, e.g.
dbt run
.Check result int the dbt log:
Expected behavior
The last query shouldn't show
but either nothing or
or last statement should be
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
The output of
dbt --version
:The operating system you're using: macOs Sonoma 14.4.1
The output of
python --version
: Python 3.11.6Additional context