This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new f3b3ebc  Upgrading Travis distro and MySQL
f3b3ebc is described below

commit f3b3ebc58ca198d6d5bb827a66db6ca11e6086fb
Author: Petri Tuomola <[email protected]>
AuthorDate: Sat May 9 09:43:03 2020 +0300

    Upgrading Travis distro and MySQL
---
 .travis.yml | 4 ++--
 README.md   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fad6d6d..d882323 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@
 #
 
 # https://issues.apache.org/jira/browse/FINERACT-763
-dist: trusty
+dist: bionic
 
 language: java
 
@@ -35,7 +35,7 @@ addons:
     - httpie
 
 before_install:
-  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('mysql') WHERE 
user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
+  - echo "USE mysql;\nALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql';\n" 
| mysql -u root
   - mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS 
`fineract_tenants`;'
   - mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS 
`fineract_default`;'
 # Hardcoding the time zone is a temporary fix for 
https://issues.apache.org/jira/browse/FINERACT-723
diff --git a/README.md b/README.md
index bb455c2..de1c4e5 100644
--- a/README.md
+++ b/README.md
@@ -19,15 +19,15 @@ If you are interested in contributing to this project, but 
perhaps don't quite k
 Requirements
 ============
 * Java >= 11 (OpenJDK JVM is tested by our CI on Travis)
-* MySQL 5.5
+* MySQL 5.7
 
 You can run the required version of the database server in a container, 
instead of having to install it, like this:
 
-    docker run --name mysql-5.5 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mysql -d 
mysql:5.5
+    docker run --name mysql-5.7 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=mysql -d 
mysql:5.7
 
 and stop and destroy it like this:
 
-    docker rm -f mysql-5.5
+    docker rm -f mysql-5.7
 
 Beware that this database container database keeps its state inside the 
container and not on the host filesystem.  It is lost when you destroy (rm) 
this container.  This is typically fine for development.  See [Caveats: Where 
to Store Data on the database container 
documentation](https://hub.docker.com/_/mysql) re. how to make it persistent 
instead of ephemeral.
 

Reply via email to