From 249a982a2518facd0332f49196be7a6084330246 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Wed, 19 Jul 2017 09:59:00 +0900 Subject: 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 --- ci/travis.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/travis.rb') diff --git a/ci/travis.rb b/ci/travis.rb index bb87c8f4ad..6e002d4a5b 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -3,6 +3,10 @@ require "fileutils" 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', -- cgit v1.2.3