[
https://issues.apache.org/jira/browse/FINERACT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236350#comment-17236350
]
Francis Guchie commented on FINERACT-1115:
------------------------------------------
you can also make CHANGES as shown below
Option2 editing
tomcat\webapps\fineract-provider\WEB-INF\classes\META-INF\spring\hikariDataSource.xml
but this can only be done using the default passwords - you launch tomcat
once all is ok stop tomcat and edit the file
so i edited the server.xml too with the new root password
<property name=_"driverClassName"_ value=_"${fineract_tenants_driver}"_
/> change this
*<property name="driverClassName" value="com.mysql.jdbc.Driver"/>* *--------to
this*
<property name=_"jdbcUrl"_ value=_"${fineract_tenants_url}"_ /> change
this
*<property name="jdbcUrl"
value="jdbc:mysql://localhost:<PORTNUMBER>/fineract_tenants"/> --------to this*
<property name=_"username"_ value=_"*put the user name*"_ />
<property name=_"password"_ value=_"*put the password*"_ />
DO NOT FORGET TO CHANGE schema_password in
fineract_tenants.tenant_server_connections table
also set the user name and password in mysql
Started tomcat and all worked like a charm
> Not possible to start tomcat if root password is not "mysql"
> ------------------------------------------------------------
>
> Key: FINERACT-1115
> URL: https://issues.apache.org/jira/browse/FINERACT-1115
> Project: Apache Fineract
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.4.0
> Reporter: Francis Guchie
> Assignee: Francis Guchie
> Priority: Critical
> Labels: beginner
> Fix For: 1.5.0
>
>
> After a successfull installation following steps here
> [https://mifosforge.jira.com/wiki/spaces/docs/pages/74711072/Mifos+X+Installation+on+Linux+-+Ubuntu+Server]
> , it was possible to change the suggested root password for MySQL.
> But for the latest build, if you change the root password from "mysql" to
> something else, when you start tomcat, you will get errors. This looks like
> the root password (the suggested one) is hard coded in some files of the
> fineract
--
This message was sent by Atlassian Jira
(v8.3.4#803005)