SQWareProduction:generic:etc:sqwgen DbRefVar.cfg : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
(15 révisions intermédiaires par le même utilisateur non affichées) | |
(Aucune différence)
|
Version du 26 avril 2024 à 15:09
Configuration file $gvsqw_GenBin/../etc/sqwgen_DbRefVar.cfg:
Global var for SQWareRepository connexion
Contient les variables operationnelles de SQWareProduction.
Contenu du fichier:
#!/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
Explication de variables: