SQWareProduction:mysql:lib:sqwmys Global.lib : Différence entre versions

De WikiFr_dbSQWare
Aller à : navigation, rechercher
m (Updated by BatchUser)
m (Updated by BatchUser)
 
Ligne 12 : Ligne 12 :
 
gfsqw_TrapServer =>  
 
gfsqw_TrapServer =>  
 
gfsqw_TrapVersion =>  
 
gfsqw_TrapVersion =>  
gfsqw_TrapVersion 2>&1|grep -v 'password on the command line' | sed 's,  *$,,g' > $gvsqw_MailInfoProgFile.tmp
+
gfsqw_TrapVersion 2>&1|grep -v 'password on the command line'|grep -v '^mysql: Deprecated program name.' | sed 's,  *$,,g' > $gvsqw_MailInfoProgFile.tmp
gfsqw_TrapVersion 2>&1| sed 's,  *$,,g' |tee $gvsqw_TmpFile
+
gfsqw_TrapVersion 2>&1|grep -v 'password on the command line'|grep -v '^mysql: Deprecated program name.' | sed 's,  *$,,g' |tee $gvsqw_TmpFile
 
</pre>
 
</pre>
 
<br>
 
<br>
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_Global.lib}}
 
{{SQWareProductionSurchargeLib|mysql|Mys|sqwmys_Global.lib}}
 
<br>
 
<br>

Version actuelle datée du 15 septembre 2024 à 17:25

librairies de fonctions shell $gvsqw_MysBin/../lib/sqwmys_Global.lib:
central lib of generic fonctions for mysql
Explication des fonctions:

gfsqw_CheckConn => 
gfsqw_EvalGlobalVar
gfsqw_FormatHtmlMessages => 
gfsqw_GenListDatabase => 
gfsqw_GetVersion => 
gfsqw_SourceProfile
gfsqw_TrapServer => 
gfsqw_TrapVersion => 
gfsqw_TrapVersion 2>&1|grep -v 'password on the command line'|grep -v '^mysql: Deprecated program name.' | sed 's,  *$,,g' > $gvsqw_MailInfoProgFile.tmp
gfsqw_TrapVersion 2>&1|grep -v 'password on the command line'|grep -v '^mysql: Deprecated program name.' | sed 's,  *$,,g' |tee $gvsqw_TmpFile


Information.png
Information:
Vous pouvez surcharger les fonctions contenues dans $gvsqw_MysBin/../lib/sqwmys_Global.lib

en redeclarant une fonction du meme nom $gvsqw_MysBin/../lib_cust/sqwmys_Global.lib pour tous les environnements
ou dans $HOME/sqwConfig/sqwmys_Global.lib specifiquement pour ce user .