You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Jun King Miñon <ju...@pearlpay.io> on 2019/07/24 04:55:37 UTC

Changing default MySQL properties

Hi Everyone,

I would like to ask an advice on how to modify the database properties such
as server port, username or password on Mifos. I am seeing hard-coded
values from the code base (*e.g.,* V1__mifos-platform-shared-tenants.sql).
I have tried to modify this and utilize gradle but failed to modify the
default credentials - root:mysql.

Thanks in advance. Cheers!


Regards,

Jun King P. Miñon
Consultant Software Engineer
Core Banking Solutions

-- 



PEARLPAY INC.


2nd Floor, 22 The Jupiter Center, Jupiter Street, 
Makati, 1209 Metro Manila, Philippines



https://www.pearlpay.com 
<https://www.pearlpay.com>
https://www.linkedin.com/company/pearlpay 
<https://www.linkedin.com/company/pearlpay>

https://www.facebook.com/PearlPayOFFICIAL 
<https://www.facebook.com/PearlPayOFFICIAL/>

This email and any files 
transmitted with it are confidential and intended solely for the use of the 
individual or entity to whom they are addressed. If you have received this 
email in error please notify the system manager. This message contains 
confidential information and is intended only for the individual named. If 
you are not the named addressee you should not disseminate, distribute or 
copy this e-mail. Please notify the sender immediately by e-mail if you 
have received this e-mail by mistake and delete this e-mail from your 
system. If you are not the intended recipient you are notified that 
disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.  WARNING: Computer 
viruses can be transmitted via email. The recipient should check this email 
and any attachments for the presence of viruses. The company accepts no 
liability for any damage caused by any virus transmitted by this email. 
E-mail transmission cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late 
or incomplete, or contain viruses. The sender therefore does not accept 
liability for any errors or omissions in the contents of this message, 
which arise as a result of e-mail transmission.  Our company accepts no 
liability for the content of this email, or for the consequences of any 
actions taken on the basis of the information provided, unless that 
information is subsequently confirmed in writing. If you are not the 
intended recipient you are notified that disclosing, copying, distributing 
or taking any action in reliance on the contents of this information is 
strictly prohibited. Any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the 
company. Employees of the company are expressly required not to make 
defamatory statements and not to infringe or authorize any infringement of 
copyright or any other legal right by email communications. Any such 
communication is contrary to company policy and outside the scope of the 
employment of the individual concerned. The company will not accept any 
liability in respect of such communication, and the employee responsible 
will be personally liable for any damages or other liability arising.


Re: Changing default MySQL properties

Posted by Victor Manuel Romero Rodriguez <vi...@hotmail.com>.
Some time ago I used to do the find and replace in only two files:

1. In tomcat server.xml

2. Flyway connection java file.

localhost -> your.db.server.fqdn

3306 -> yourDbPort

root -> yourUser

mysql -> yourPassword

Regards

Victor

El 23/07/19 a las 23:55, Jun King Miñon escribió:
Hi Everyone,

I would like to ask an advice on how to modify the database properties such as server port, username or password on Mifos. I am seeing hard-coded values from the code base (e.g., V1__mifos-platform-shared-tenants.sql). I have tried to modify this and utilize gradle but failed to modify the default credentials - root:mysql.

Thanks in advance. Cheers!


Regards,

Jun King P. Miñon
Consultant Software Engineer
Core Banking Solutions

[X]

PEARLPAY INC.

2nd Floor, 22 The Jupiter Center, Jupiter Street, Makati, 1209 Metro Manila, Philippines

https://www.pearlpay.com
https://www.linkedin.com/company/pearlpay
https://www.facebook.com/PearlPayOFFICIAL<https://www.facebook.com/PearlPayOFFICIAL/>

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.  WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.  Our company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of the company are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising.