Runtime Error with MYSQL8 After Migrating from @sqlfx/sql-mysql to @effect/sql-mysql2
FYI: after migrating from
You can read more about why this is happening in this mysql2 issue. My hotfix was to run
@sqlfx/sql-mysql (the mariadb implementation) to @effect/sql-mysql2, I've noticed a runtime error when using MYSQL8. When using MYSQL5.7, the issue was not present. The error reads:You can read more about why this is happening in this mysql2 issue. My hotfix was to run
yarn patch mysql2 and then make the change described here. This fix works for both versions of MYSQL.