Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rails db:schema:dump
- Mysql2::Error: Access denied for user 'rails_user'@'localhost' (using password:
- YES)
- bin/rails:4:in `require'
- bin/rails:4:in `<main>'
- Tasks: TOP => db:schema:dump
- (See full trace by running task with --trace)
- default: &default
- adapter: mysql2
- encoding: utf8
- pool: 5
- username: rails_user
- password: grace0512
- host: localhost
- development:
- <<: *default
- database: test_project_development
- # Warning: The database defined as "test" will be erased and
- # re-generated from your development database when you run "rake".
- # Do not set this db to the same as development or production.
- test:
- <<: *default
- database: test_project_test
- grant all on simple_cms_development.* to 'rails_user'@'localhost' identified by '<password>';
- flush privileges;
- GRANT ALL PRIVILEGES ON demo_project_development.* to rails_user@localhost IDENTIFIED BY 'password';
- FLUSH PRIVILEGES;
- GRANT ALL PRIVILEGES ON test_project_development.* to 'railsuser'@'localhost'
- IDENTIFIED BY 'grace0512';
- GRANT ALL PRIVILEGES ON test_project_test.* to 'railsuser'@'localhost'
- IDENTIFIED BY 'grace0512';
Add Comment
Please, Sign In to add comment