Displaying 1 result from an estimated 1 matches for "utf_bin".
Did you mean:
utf8_bin
2007 Jan 26
1
rake test:x recreates tables in MySQL with server (not database) charset and collation
...setting per each table. Only the
test db, specifically after a rake test:units run has this problem.
Repro:
1. Create DB (MySQL 5.0.24a)
CREATE DATABASE foobar CHARACTER SET utf8 COLLATE utf8_bin;
2. Run migration (Rails 1.2)
3. Verify database and all tables have charset utf8 and collation of
utf_bin: yes.
select @@character_set_server, etc...
---------------------- ------------------ ------------------------
--------------------
latin1 latin1_swedish_ci utf8
utf8_bin
4. Run rake test:units. Tests fail as side-effect of incorrect
collation.
5. Verify database and all tabl...