This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select transactions.id as 'Transaction ID', | |
transactions.transactionType as 'Transaction Type', | |
transactions.reversed as reversed, | |
accounts.amount as amount, | |
accounts.transactionType as transactionType, | |
accounts.accountName as accountName, | |
accounts.accountType as accountType, | |
transactions.principal as principal, | |
transactions.interest as interest, | |
transactions.fee as fee, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo on | |
w: | |
cd W:\mifos\tomcat\webapps | |
DEL /F /S /Q /A mifosng-provider.war | |
RD /S /Q mifosng-provider | |
copy W:\mifos\mifosx\mifosng-provider\build\libs\mifosng-provider.war mifosng-provider.war |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Enable MySQL General Log | |
SET global general_log = 1; | |
SET global log_output = 'table'; | |
--MySQL Dump | |
mysqldump -uroot -ppassword dbname > dump.sql | |
--enable access from a particular system | |
GRANT ALL PRIVILEGES ON *.* TO [email protected] identified by "password" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> Check number of max used connections | |
SHOW STATUS WHERE variable_name = 'Max_used_connections' | |
>> Check number of threads connected | |
SHOW STATUS WHERE variable_name = 'Threads_connected' | |
>> Update max connection variable | |
show variables like "max_connections"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `mifostenant-marudhara`.`m_currency` SET `display_symbol`=CHAR(226, 130, 185) WHERE `code`="INR"; | |
UPDATE `mifostenant-marudhara`.`m_organisation_currency` SET `display_symbol`=CHAR(226, 130, 185) WHERE `code`="INR"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -uroot -pmysql | |
use `mifosplatform-tenants`; | |
CREATE TABLE `schema_version` ( | |
`version_rank` int(11) NOT NULL, | |
`installed_rank` int(11) NOT NULL, | |
`version` varchar(50) NOT NULL, | |
`description` varchar(200) NOT NULL, | |
`type` varchar(20) NOT NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drop table m_loan_transaction_temp; | |
/**Temp table with primary key and indices**/ | |
CREATE TABLE `m_loan_transaction_temp` ( | |
`id` BIGINT(20) NOT NULL, | |
`loan_id` BIGINT(20) NOT NULL, | |
`amount` DECIMAL(19,6) NOT NULL DEFAULT '0.000000', | |
`transaction_date` DATE NOT NULL, | |
PRIMARY KEY (`id`), | |
INDEX `loan_id` (`loan_id`), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -u root -pmysql mifostenant-elevateafrica | mysql -u root -pmysql mifostenant-elevateafrica-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradlew migrateTenantDB -PdbName=mifostenant-test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
OlderNewer