提交 249a982a 编写于 作者: R Ryuta Kamizono

Create `rails@localhost` user on travis ci

Looks like that latest CI failure is due to missing `rails@localhost`.
Creating the user may solve the issue.

https://travis-ci.org/rails/rails/jobs/254996063#L831
上级 a03a7ce5
......@@ -3,6 +3,10 @@
include FileUtils
commands = [
'mysql -e "create user rails@localhost;"',
'mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"',
'mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"',
'mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"',
'mysql -e "create database activerecord_unittest;"',
'mysql -e "create database activerecord_unittest2;"',
'psql -c "create database activerecord_unittest;" -U postgres',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册