I think it should be mentioned somewhere in the readme or in the guides that we need to use mysql -uroot -proot to login to mysql. Ideally, it should be in this [guide](http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html#running-tests), in **5.7.4 Testing Active Record** before mentioning `create database activerecord_unittest`