From f66cbf6350057f4b2b581d62d1b6ccc91e4f97fe Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Wed, 19 Jul 2017 10:14:13 +0200 Subject: [PATCH] Merge pull request #29844 from kamipo/create_rails_user_on_travis_ci Create `rails@localhost` user on travis ci --- ci/travis.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ 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', -- GitLab