SQWareProduction:mysql:etc:.profile confort : Différence entre versions
m (Updated by BatchUser) |
m (Updated by BatchUser) |
||
Ligne 13 : | Ligne 13 : | ||
memerr => 'cd $MEM_HOME; tail -100 mysql-monitor-agent.$MYSQL_SID.log' | memerr => 'cd $MEM_HOME; tail -100 mysql-monitor-agent.$MYSQL_SID.log' | ||
mysp => 'my -e "show processlist"' | mysp => 'my -e "show processlist"' | ||
− | mysd => 'echo "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' | + | mysd => 'echo $gvsqw_EchoOpt "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' |
cdm => 'cd $MYSQL_HOME' | cdm => 'cd $MYSQL_HOME' | ||
</pre> | </pre> | ||
<br> | <br> |
Version actuelle datée du 27 septembre 2021 à 20:25
Fichier pour mettre les aliases $gvsqw_MysBin/../etc/.profile_confort:
Contenu des aliases de confort de SQWareProduction pour mysql.
Explication des alias:
xtra => 'cd $gvsqw_RootXtraBackup; ls -al'; dmp => 'cd $gvsqw_RootDump; ls -al'; dbf => 'cd $gvsqw_RootDbf; ls -al'; my => "mysql $gvsqw_ConnectString" CFG => 'cd $MYSQL_HOME;vi -R my.cnf' memcfg => 'cd $MEM_HOME; vi -R etc/mysql-monitor-agent.ini' err => 'cd $MYSQL_HOME/log; tail -100 $MYSQL_SID.error.log' memerr => 'cd $MEM_HOME; tail -100 mysql-monitor-agent.$MYSQL_SID.log' mysp => 'my -e "show processlist"' mysd => 'echo $gvsqw_EchoOpt "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";' cdm => 'cd $MYSQL_HOME'