]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Document MySQL character set issues
authorAlan T. DeKok <aland@freeradius.org>
Fri, 17 Feb 2012 14:19:29 +0000 (15:19 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 17 Feb 2012 14:21:03 +0000 (15:21 +0100)
Patch from Stefan Winter

raddb/sql/mysql/dialup.conf

index f294b4db581c8ecb1416f658f9aca89a8612bc0e..09733ca69976d92716cffcdf5a66d6de285f781f 100644 (file)
        #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