SQWareProduction:generic:etc:sqwgen DbRefVar.cfg: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| m Updated by BatchUser | m Updated by BatchUser | ||
| (68 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| Configuration file $gvsqw_GenBin/../etc/sqwgen_DbRefVar.cfg:<br> | Configuration file $gvsqw_GenBin/../etc/sqwgen_DbRefVar.cfg:<br> | ||
| {{SQWareProduction_sqwgen_DbRefVar.cfg_presentation}} | {{SQWareProduction_sqwgen_DbRefVar.cfg_presentation}} | ||
| {{SQWareProduction_sqwgen_DbRefVar.cfg_content}} | |||
| {{SQWareProduction_sqwgen_DbRefVar.cfg_explanation}} | |||
| {{SQWareProductionSurchargeVar|generic|Gen|sqwgen_DbRefVar.cfg}} | {{SQWareProductionSurchargeVar|generic|Gen|sqwgen_DbRefVar.cfg}} | ||
| <br> | <br> | ||
Latest revision as of 15:08, 23 February 2025
Configuration file $gvsqw_GenBin/../etc/sqwgen_DbRefVar.cfg:
Global var for SQWareRepository connexion
It contains the operating variables of SQWareProduction.
File content:
#!/bin/ksh
###################################################################
# SQWareProduction for Mysql module of dbSQWare is developped with GPL License 3.0 :
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# dbSQWare is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
# 
# For information : contact@dbsqware.com or www.dbsqware.com
###################################################################
## @Synopsis	Global var for SQWareRepository connexion
## @Copyright	Copyright 2010-2014, OctopusDBA (www.octopusdba.com)
## @License	GPL v3
if [ "$gvsqw_Debug" != "" ]
then
	echo "sourcing cfg file : .../SQWareProduction/generic/etc/sqwgen_DbRefVar.cfg"
fi
export gvsqw_DbRefPort='3306'
export gvsqw_DbRefHost='SQWareRepositoryHost'
export gvsqw_DbRefDatabase='dbsqware_db'
export gvsqw_DbRefUser='dbsqware_user'
export gvsqw_DbRefPass='OctopusDBA_dbSQWare123'
# ssh connection to bounce server for indicators (for MySQL inserts)
# export gvsqw_BounceServerUserConn='mysql_user@BounceServer'
###################################################################################################
###################################################################################################
# Source custom
eval lvsqw_Tmp="\$gvsqw_${gvsqw_RdbmsTrigram}Bin"
if [ -r $gvsqw_GenPath/../../generic/etc_cust/sqwgen_DbRefVar.cfg ]
then
		if [ "$gvsqw_Debug" != "" ]
		then
			echo "sourcing cfg file : $gvsqw_GenPath/../../generic/etc_cust/sqwgen_DbRefVar.cfg"
		fi
	. $gvsqw_GenPath/../../generic/etc_cust/sqwgen_DbRefVar.cfg
elif  [ -r $lvsqw_Tmp/../../generic/etc_cust/sqwgen_DbRefVar.cfg ]
then
		if [ "$gvsqw_Debug" != "" ]
		then
			echo "sourcing cfg file : $lvsqw_Tmp/../../generic/etc_cust/sqwgen_DbRefVar.cfg"
		fi
	. $lvsqw_Tmp/../../generic/etc_cust/sqwgen_DbRefVar.cfg
fi
# For not normed environnement
if [ -r $HOME/sqwConfig/sqwgen_DbRefVar.cfg ]
then
		if [ "$gvsqw_Debug" != "" ]
		then
			echo "sourcing cfg file : $HOME/sqwConfig/sqwgen_DbRefVar.cfg"
		fi
		. $HOME/sqwConfig/sqwgen_DbRefVar.cfg
fi
Variables explanation:
