Hello all I am trying to use a command -
rake db:migrate
but I am getting this as feedback in the terminal -
rake aborted!
Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)
I'm looking to have something to request the password when I use the command, such as
rake db:migrate -p
but this isn't working for me I've tried various things like putting it before rake, just after rake and using -u and root with it.