How to set utf8 charset, utf8_collate_ci as collation?

Symfony 1.4 propel schema.yml: How to set utf8 charset, utf8_collate_ci as collation?

all:
  doctrine:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=localhost;dbname=mydb'
      username: myusername
      password: mypassword
      attributes:
        default_table_charset: utf8
        default_table_collate: utf8_general_ci

Comments

Popular posts from this blog

How to build unlimited levels menu through PHP and MySQL

How to build a map of the frequency with which characters occur in a file in OCaml?

How to create timed pop-up windows using MVVM?