I have the following code in application.ini
resources.db.adapter=PDO_MYSQL resources.db.params.host=localhost resources.db.params.username=myusername resources.db.params.password=mypassword resources.db.params.dbname=mydb resources.db.params.charset = "utf8" resources.db.params.driver_options.1002 = "SET NAMES utf8"
I cheked on the internet and could not find out an answer, may you could help.
Why the last row
resources.db.params.driver_options.1002 = "SET NAMES utf8"
is used, if the charset has already been set in the previous line:
resources.db.params.charset = "utf8"