Skip to content

Commit 7bbff51

Browse files
committed
Fixed MySQL query trying to remove non-existant users
1 parent 0b951d4 commit 7bbff51

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased] - TBD
88

9+
## [v1.1.1] - 11-17-2017
10+
### Fixed
11+
- MySQL query was trying to remove a user that wasn't there during the setup process
12+
913
## [v1.1.0] - 11-16-2017
1014
### Added
1115
- SKIP_TESTS parameter so you can just deploy code

vars/rails.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ def call(body) {
112112
env.MYSQL_DATABASE = db_name
113113

114114
sql connection: 'test_db', sql: "DROP DATABASE IF EXISTS ${env.MYSQL_DATABASE};"
115-
sql connection: 'test_db', sql: "REVOKE ALL PRIVILEGES, GRANT OPTION FROM ${env.MYSQL_USER}@'%';"
116-
sql connection: 'test_db', sql: "DROP USER ${env.MYSQL_USER}@'%';"
117115

118116
sql connection: 'test_db', sql: "CREATE DATABASE IF NOT EXISTS ${env.MYSQL_DATABASE};"
119117
echo "SQL: CREATE DATABASE IF NOT EXISTS ${env.MYSQL_DATABASE};"

0 commit comments

Comments
 (0)