Guest User

Untitled

a guest
Jan 5th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. ## my.cnf
  2. init_connect=’SET collation_connection = utf8_unicode_ci; SET NAMES utf8;’
  3. character_set_server = utf8
  4. collation_server=utf8_unicode_ci
  5. default-character-set=utf8
  6. default-collation=utf8_unicode_ci
  7.  
  8. ## config/database
  9. development:
  10. adapter: mysql2
  11. database: mapp_development
  12. username: root
  13. password:
  14. encoding: utf8
  15.  
  16.  
  17. ## mysql table desc
  18. NAME TYPE COLLATION NUL KEY DEFAUL EXTRA PRIVILEGES
  19. id int(11) {null} NO PRI {null} auto_increment select,insert,update,references
  20. created_at datetime {null} YES {null} select,insert,update,references
  21. updated_at datetime {null} YES {null} select,insert,update,references
  22. user_id int(11) {null} YES MUL {null} select,insert,update,references
  23. address_id int(11) {null} YES {null} select,insert,update,references
  24. html_body mediumtext utf8_general_ci YES {null} select,insert,update,references
Add Comment
Please, Sign In to add comment