SQWareProduction:mysql:etc:.profile confort

From Wiki_dbSQWare
Revision as of 20:31, 27 September 2021 by BatchUser (talk | contribs) (Updated by BatchUser)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

File to put aliases $gvsqw_MysBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for mysql.

Alias explanation:

 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'