Skip to content

Commit c4802c3

Browse files
committed
.travis.yml: fianally fix "ERROR 1046 (3D000): No database selected" error.
Addressed to #612
1 parent 9b3bda0 commit c4802c3

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
@@ -12,7 +12,7 @@ before_script:
1212
- set -o errexit # exit immediately when commands return a non-zero status
1313
- if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
1414
mysql -u root -e 'CREATE DATABASE mystamps CHARACTER SET utf8;';
15-
mysql -u root -e "GRANT ALL PRIVILEGES ON mystamps@* TO travis@% IDENTIFIED BY '';";
15+
mysql -u root -e "GRANT ALL PRIVILEGES ON mystamps.* TO 'travis'@'%';";
1616
mkdir -p /tmp/uploads /tmp/preview;
1717
cp src/main/resources/test/test.png /tmp/uploads/1.png;
1818
if [ "$TRAVIS_BRANCH" = 'prod' -a "$TRAVIS_PULL_REQUEST" = 'false' ]; then

0 commit comments

Comments
 (0)