Edgewall Software

Opened 2 years ago

Last modified 2 years ago

#13463 closed defect

character_set_database errors with mysql8 — at Initial Version

Reported by: mrbart Owned by:
Priority: normal Milestone: 1.4.4
Component: database backend Version: 1.5.3
Severity: normal Keywords: mysql
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

so mysql 8.0.26-17 now returns 'utf8' as 'utf8mb3' if the server is configured for backwards compatibility (started up with default-character-set=utf8)

the above makes it impossible to setup trac on a completely fresh installation with the latest versions of:

Ubuntu 20
Python 3.8.10
PyMySQL 0.9.3
Trac 1.5.3
MySQL 8.0.26-17

attached is modded version of mysql_backend.py which i modded/haxed just to force things along

Change History (1)

by mrbart, 2 years ago

Attachment: mysql_backend.py added
Note: See TracTickets for help on using tickets.