[MCOL-48] rename idbmysql alias Created: 2016-05-06  Updated: 2023-10-26  Resolved: 2016-05-18

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: 1.0.0

Type: Bug Priority: Minor
Reporter: David Hill (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: MCOL Sprint 1 - Priority 1

 Description   

Currently we are using the alias idbmysql to access the maraidb-columnstore mysql console.

Do we still continue to use the an alias command and if so, what should it be called?

Currently is setup like this:

alias idbmysql='/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root'

New alias should be mscmysql



 Comments   
Comment by David Hill (Inactive) [ 2016-05-06 ]

changing calpontConsole to mcsadmin, so we should go with mscmysql as the new alias name

Comment by David Hill (Inactive) [ 2016-05-09 ]

changes made, need QA review and test

Comment by Daniel Lee (Inactive) [ 2016-05-18 ]

Build tested:

InfiniDB> getcalpontsoft
getcalpontsoftwareinfo Wed May 18 10:49:59 2016

Name : infinidb-platform Relocations: (not relocatable)
Version : 5.0 Vendor: MariaDB, Inc.
Release : 0 Build Date: Sun 15 May 2016 07:24:29 PM CDT
Install Date: Mon 16 May 2016 05:21:51 PM CDT Build Host: srvbuilder

Verified admin console binary, as well as aliases. I have not confirm if all admin (OAM) commands are still working. It will be handled by the OAM tests later.

alias core='cd /var/log/Calpont/corefiles'
alias cp='cp -i'
alias dbrm='cd /usr/local/Calpont/data1/systemFiles/dbrm'
alias home='cd /usr/local/Calpont/'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias log='cd /var/log/Calpont/'
alias ls='ls --color=auto'
alias ma='/usr/local/Calpont/bin/mcsadmin'
alias mcsadmin='/usr/local/Calpont/bin/mcsadmin'
alias mcsmysql='/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root'
alias module='cat /usr/local/Calpont/local/module'
alias mv='mv -i'
alias rm='rm -i'
alias tdebug='tail -f /var/log/Calpont/debug.log'
alias tinfo='tail -f /var/log/Calpont/info.log'
alias tmsg='tail -f /var/log/messages'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
[root@columnStore misc]# mcsadmin

Calpont InfiniDB Command Console
enter 'help' for list of commands
enter 'exit' to exit the Calpont InfiniDB Command Console
use up/down arrows to recall commands

Active Alarm Counts: Critical = 0, Major = 0, Minor = 0, Warning = 0, Info = 0

Critical Active Alarms:

InfiniDB> quit
quit Wed May 18 10:48:58 2016
Exiting the Calpont Command Console
[root@columnStore misc]# cd /usr/local/Calpont/bin
[root@columnStore bin]# ./mcsadmin

Calpont InfiniDB Command Console
enter 'help' for list of commands
enter 'exit' to exit the Calpont InfiniDB Command Console
use up/down arrows to recall commands

Active Alarm Counts: Critical = 0, Major = 0, Minor = 0, Warning = 0, Info = 0

Critical Active Alarms:

InfiniDB>

Comment by Dipti Joshi (Inactive) [ 2016-05-19 ]

hill Looking at dleeyh's output above it shows that the prompt still says InfiniDB, and the opening text still says "Calpont InfiniDB Command Console" - why is that ? It should have said "MariaDB ColumnStore Command Console"

Generated at Thu Feb 08 02:18:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.