From: Alan T. DeKok Date: Fri, 17 Feb 2012 14:19:29 +0000 (+0100) Subject: Document MySQL character set issues X-Git-Tag: release_3_0_0_beta0~310 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c61be508a094a04a31bb882ba6605bf2091e8cd;p=thirdparty%2Ffreeradius-server.git Document MySQL character set issues Patch from Stefan Winter --- diff --git a/raddb/sql/mysql/dialup.conf b/raddb/sql/mysql/dialup.conf index f294b4db581..09733ca6997 100644 --- a/raddb/sql/mysql/dialup.conf +++ b/raddb/sql/mysql/dialup.conf @@ -10,7 +10,18 @@ #safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" ####################################################################### - # Query config: Username + # Connection config + ####################################################################### + # The character set is not configurable. The default character set of + # the mysql client library is used. To control the character set, + # create/edit my.cnf (typically in /etc/mysql/my.cnf or /etc/my.cnf) + # and enter + # [client] + # default-character-set = utf8 + # + + ####################################################################### + # Query config: Username ####################################################################### # This is the username that will get substituted, escaped, and added # as attribute 'SQL-User-Name'. '%{SQL-User-Name}' should be used below