]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commitdiff
Added/improved comment explaining the use_unicode=0 paramter in the MySQL connection...
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 30 Oct 2010 19:38:24 +0000 (19:38 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 30 Oct 2010 19:38:24 +0000 (19:38 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wradmin@619 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wradmin/development.ini
wradmin/wradmin/config/deployment.ini_tmpl

index 0239233d99625870d3ad274a87aaed3ee9ea3edc..2ff5875c21ba2c9d86076070448834fbe261410c 100644 (file)
@@ -37,7 +37,8 @@ authkit.basic.authenticate.user.data =
 
 # SQLAlchemy database URL
 sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0
-# If use_unicode=1, sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary string are returned and not converted to unicode.
+# If we would use "use_unicode=1" or omit the parameter (because its the default), sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary strings are returned and not converted to unicode.
+
 # necessary for mySQL databases
 sqlalchemy.pool_recycle = 3600
 # sqlalchemy.echo_pool = 1
index d0fa0d431903ca595e4b3e1b4c769485a52a9be8..2558be0189d8b7d84b96bff38687b60810a748ab 100644 (file)
@@ -37,6 +37,8 @@ authkit.basic.authenticate.user.data =
 
 # SQLAlchemy database URL
 sqlalchemy.url = mysql://user@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0
+# If we would use "use_unicode=1" or omit the parameter (because its the default), sqlalchemy requests unicode strings from the MySQLdb backend (and does not do the conversion itself), however, since the tables are defined as 'varchar(x) binary' only binary strings are returned and not converted to unicode.
+
 # necessary for mySQL databases
 sqlalchemy.pool_recycle = 3600