I get the error when trying to run rails db:schema:dump
Ric$ rails db:schema:dump
rails aborted!
Mysql2::Error::ConnectionError: Access denied for user 'rails_user'@'localhost' (using password: NO)
/Users/ricardosilva/.rvm/gems/ruby-2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect'
/Users/ricardosilva/.rvm/gems/ruby-2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize'
/Users/ricardosilva/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record
I have tried as well rails server and it doesn't work too. Also tried to reinstall all packs - nothing.
I'm using OS X 10.14 on x86_6,4 brew 2.0.4, rails 5.2.2, ruby 2.6.0, mysql 8.0.15
Looking for an answer.
rails_useror set a different one in yourdatabase.yml.