Guest User

Untitled

a guest
May 6th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. development:
  2. adapter: mysql
  3. encoding: utf8
  4. database: acct_management_development
  5. username: root
  6. password:
  7. socket: /etc/my.cnf
  8.  
  9. # Warning: The database defined as "test" will be erased and
  10. # re-generated from your development database when you run "rake".
  11. # Do not set this db to the same as development or production.
  12. test:
  13. adapter: mysql
  14. encoding: utf8
  15. database: acct_management_test
  16. username: root
  17. password:
  18. socket: /etc/my.cnf
  19.  
  20. production:
  21. adapter: mysql
  22. encoding: utf8
  23. database: acct_management_production
  24. username: root
  25. password:
  26. socket: /etc/my.cnf
  27.  
  28. [localhost acct_management]# rake db:create
  29. (in /var/www/rails/acct_management)
  30.  
  31. Couldn't create database for {"socket"=>"/etc/my.cnf", "encoding"=>"utf8", "username"=>"root", "adapter"=>"mysql", "password"=>nil, "database"=>"acct_management_development"}, charset: utf8, collation: utf8_general_ci (if you set the charset manually, make sure you have a matching collation)
Add Comment
Please, Sign In to add comment