Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No mention of mySQL/postgreSQL username/password #122

Open
vedant1811 opened this issue Nov 6, 2016 · 4 comments
Open

No mention of mySQL/postgreSQL username/password #122

vedant1811 opened this issue Nov 6, 2016 · 4 comments

Comments

@vedant1811
Copy link

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

@vedant1811 vedant1811 changed the title No mention of mySQL/portgreSQL username/password No mention of mySQL/postgreSQL username/password Nov 6, 2016
@SirByronic
Copy link

The login/password for MySQL are root/root

@sobrinho
Copy link
Contributor

@fxn this makes sense to add to README or can we close this?

@fxn
Copy link
Member

fxn commented Dec 14, 2017

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?

@sobrinho
Copy link
Contributor

@fxn sure, I will open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants