Skip to content

Commit 41fc2b0

Browse files
committed
Revert ".travis.yml: add IDENTIFIED BY clause to GRANT in attempt to fix "ERROR 1046 (3D000): No database selected" error."
This reverts commit 3e14652. We don't need this workaround anymore as it was fixed on Travis CI recently: https://docs.travis-ci.com/user/build-environment-updates/2017-09-06/#Fixed Addressed to #612
1 parent 8862e5a commit 41fc2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
before_script:
1414
- if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
1515
mysql -u root -e 'CREATE DATABASE mystamps CHARACTER SET utf8;';
16-
mysql -u root -e 'GRANT ALL PRIVILEGES ON mystamps@* TO travis@% IDENTIFIED BY '';";
16+
mysql -u root -e 'GRANT ALL PRIVILEGES ON mystamps@* TO travis@%;';
1717
mkdir -p /tmp/uploads /tmp/preview;
1818
cp src/main/resources/test/test.png /tmp/uploads/1.png;
1919
if [ "$TRAVIS_BRANCH" = 'prod' -a "$TRAVIS_PULL_REQUEST" = 'false' ]; then

0 commit comments

Comments
 (0)