You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ar...@apache.org on 2023/01/11 11:13:55 UTC
[fineract] branch develop updated: FINERACT-1851
This is an automated email from the ASF dual-hosted git repository.
arnold 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 e23eeafea FINERACT-1851
e23eeafea is described below
commit e23eeafeaa5a1253fc89c6f115b0c7689c5b5dfd
Author: Wilfred Kigenyi <wk...@gmail.com>
AuthorDate: Wed Jan 11 08:48:36 2023 +0300
FINERACT-1851
---
fineract-provider/build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fineract-provider/build.gradle b/fineract-provider/build.gradle
index 73af63482..2c73d83be 100644
--- a/fineract-provider/build.gradle
+++ b/fineract-provider/build.gradle
@@ -164,7 +164,7 @@ task createDB {
description= "Creates the MariaDB Database. Needs database name to be passed (like: -PdbName=someDBname)"
doLast {
def sql = Sql.newInstance( 'jdbc:mariadb://localhost:3306/', mysqlUser, mysqlPassword, 'org.mariadb.jdbc.Driver' )
- sql.execute( 'create database '+"`$dbName`" )
+ sql.execute( 'CREATE DATABASE '+"`$dbName` CHARACTER SET utf8mb4" )
}
}
@@ -196,7 +196,7 @@ task createMySQLDB {
description= "Creates the MySQL Database. Needs database name to be passed (like: -PdbName=someDBname)"
doLast {
def sql = Sql.newInstance( 'jdbc:mysql://localhost:3306/', mysqlUser, mysqlPassword, 'com.mysql.cj.jdbc.Driver' )
- sql.execute( 'create database '+"`$dbName`" )
+ sql.execute( 'CREATE DATABASE '+"`$dbName` CHARACTER SET utf8mb4" )
}
}