database.yml 1008 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # MySQL. Versions 4.1 and 5.0 are recommended.
  2. #
  3. # Install the MYSQL driver
  4. # gem install mysql2
  5. #
  6. # Ensure the MySQL gem is defined in your Gemfile
  7. # gem 'mysql2'
  8. #
  9. # And be sure to use new-style password hashing:
  10. # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
  11. development:
  12. adapter: mysql2
  13. encoding: utf8
  14. reconnect: false
  15. database: test_fohow
  16. pool: 5
  17. username: root
  18. password: '!QAZxsw2'
  19. port: 3307
  20. host: 47.76.44.194
  21. # Warning: The database defined as "test" will be erased and
  22. # re-generated from your development database when you run "rake".
  23. # Do not set this db to the same as development or production.
  24. test:
  25. adapter: mysql2
  26. encoding: utf8
  27. reconnect: false
  28. database: test_fohow
  29. pool: 5
  30. username: root
  31. password: fohow123!@#
  32. host: 127.0.0.1
  33. production:
  34. adapter: mysql2
  35. encoding: utf8
  36. reconnect: false
  37. database: fohow_org
  38. pool: 30
  39. username: vx99mall
  40. password: fohow123!@#
  41. port: 3306
  42. host: rm-wz9pd3e23k8d32t99.mysql.rds.aliyuncs.com