memsql-client

The memsql-client package contains is a lightweight client application that allows you to run SQL queries against your database from a terminal window. After you have installed memsql-client, use the memsql application as you would use the mysql client to access your database. For more connection options, help is available through memsql --help.

memsql -h <master_or_CA_IP_address> -P <port> -u <user> -p<secure_pass>
****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.5.58 MemSQL source distribution (compatible; MySQL Enterprise & MySQL Commercial)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

memsql> 
Was this article useful?