commit 324791e3ef3ac17a79143169150e3dcd32bc640b
parent f1a3f120415206c8aa6483dbb5872905ddb476f9
Author: dankert <devnull@localhost>
Date: Fri, 26 Mar 2010 22:30:00 +0100
Beispiel, wenn MySQL mit UTF-8 betrieben wird.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/database.ini.php b/config/database.ini.php
@@ -41,7 +41,8 @@ persistent = yes ; use persistent connections (try this, it's
;charset = UTF-8
; SQL-Statement which is executed after opening the connection
-;connection_sql = ""
+; connection_sql = "SET NAMES 'UTF8';" ; using UTF-8 as database charset
+connection_sql = ""
; System command for executing before connecting to the database.
; Maybe for installing an SSH-Tunnel.