Guest User

Untitled

a guest
Jul 7th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. rails db:schema:dump
  2.  
  3. Mysql2::Error: Access denied for user 'rails_user'@'localhost' (using password:
  4. YES)
  5. bin/rails:4:in `require'
  6. bin/rails:4:in `<main>'
  7. Tasks: TOP => db:schema:dump
  8. (See full trace by running task with --trace)
  9.  
  10. default: &default
  11. adapter: mysql2
  12. encoding: utf8
  13. pool: 5
  14. username: rails_user
  15. password: grace0512
  16. host: localhost
  17.  
  18. development:
  19. <<: *default
  20. database: test_project_development
  21.  
  22. # Warning: The database defined as "test" will be erased and
  23. # re-generated from your development database when you run "rake".
  24. # Do not set this db to the same as development or production.
  25. test:
  26. <<: *default
  27. database: test_project_test
  28.  
  29. grant all on simple_cms_development.* to 'rails_user'@'localhost' identified by '<password>';
  30. flush privileges;
  31.  
  32. GRANT ALL PRIVILEGES ON demo_project_development.* to rails_user@localhost IDENTIFIED BY 'password';
  33. FLUSH PRIVILEGES;
  34.  
  35. GRANT ALL PRIVILEGES ON test_project_development.* to 'railsuser'@'localhost'
  36. IDENTIFIED BY 'grace0512';
  37.  
  38. GRANT ALL PRIVILEGES ON test_project_test.* to 'railsuser'@'localhost'
  39. IDENTIFIED BY 'grace0512';
Add Comment
Please, Sign In to add comment