Change MySQL password in Travis-CI
You are able to change the MySQL user password in your Travis-CI virtual machine builds. Simply add the following to your .travis.yml
configuration file.
before_script:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('password') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
Read more at http://packfire.tumblr.com/post/32584168389/changing-mysql-default-password-in-travis-continuous
Written by Sam-Mauris Yong
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mysql
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#