Difference between revisions of "SQWareProduction:mysql:etc:.profile confort"

From Wiki_dbSQWare
Jump to: navigation, search
m (Updated by BatchUser)
m (Updated by BatchUser)
Line 4: Line 4:
 
Alias explanation:
 
Alias explanation:
 
<pre>
 
<pre>
 +
xtra => 'cd $gvsqw_RootXtraBackup; ls -al';
 
  dmp => 'cd $gvsqw_RootDump; ls -al';
 
  dmp => 'cd $gvsqw_RootDump; ls -al';
 
  dbf => 'cd $gvsqw_RootDbf; ls -al';
 
  dbf => 'cd $gvsqw_RootDbf; ls -al';

Revision as of 21:39, 9 September 2018

File to put aliases $gvsqw_MysBin/../etc/.profile_confort:
Contains confort aliases of SQWareProduction for RDBMS 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 "# Liste des bases sur $MYSQL_SID" ; my -s -N -e "show databases";'
 cdm => 'cd $MYSQL_HOME'