Skip to content

Commit a839eea

Browse files
committed
set pass to root
1 parent f6495b7 commit a839eea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ before_script:
4444
- "mysql --version"
4545
- "mysql -u root -e 'SELECT VERSION();'"
4646
- "mysql -u root -e \"GRANT ALL PRIVILEGES ON *.* TO ''@'localhost';\""
47+
48+
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('password') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
4749

4850
env:
4951
global:

0 commit comments

Comments
 (0)