Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## my.cnf
- init_connect=’SET collation_connection = utf8_unicode_ci; SET NAMES utf8;’
- character_set_server = utf8
- collation_server=utf8_unicode_ci
- default-character-set=utf8
- default-collation=utf8_unicode_ci
- ## config/database
- development:
- adapter: mysql2
- database: mapp_development
- username: root
- password:
- encoding: utf8
- ## mysql table desc
- NAME TYPE COLLATION NUL KEY DEFAUL EXTRA PRIVILEGES
- id int(11) {null} NO PRI {null} auto_increment select,insert,update,references
- created_at datetime {null} YES {null} select,insert,update,references
- updated_at datetime {null} YES {null} select,insert,update,references
- user_id int(11) {null} YES MUL {null} select,insert,update,references
- address_id int(11) {null} YES {null} select,insert,update,references
- html_body mediumtext utf8_general_ci YES {null} select,insert,update,references
Add Comment
Please, Sign In to add comment