No mention of mySQL/postgreSQL username/password
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, in 5.7.4 Testing Active Record before mentioning create database activerecord_unittest
The login/password for MySQL are root/root
@fxn this makes sense to add to README or can we close this?
The guide points to the config file where credentials are stored for the test databases. I believe that is enough because the guide cannot assume how did you set things up.
Credentials specific for the dev box could go to the README, saying that MySQL can be used with rails without password, and that vagrant is a PostgreSQL superuser (so no need for credentials).
For that to be useful, the rails user in MySQL should have permissions to manage databases. We can add that to bootstrap.sh. Better than documenting root/root for apps, and rails for tests I think.
@sobrinho would you like to work on it?
@fxn sure, I will open a PR.