Which driver and encoding should I use for exteral database enrollment?

Re: Which driver and encoding should I use for exteral database enrollment?

by Leon Stringer -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers

I got this to work with Database encoding: utf-8 and Database setup command: SET NAMES 'utf8mb4':

enrol_database | dbencoding: utf-8; enrol_database | dbsetupsql: SET NAMES 'utf8mb4'

Database encoding is "utf-8" with the hyphen as it's the parameter send to PHP's iconv(), not the MySQL/MariaDB character encoding name. The database character encoding is specified with SET NAMES.

Average of ratings: Useful (1)