SingleStore Client
On this page
Overview
The singlestore-client package contains is a lightweight client application that allows you to run SQL queries against your database from a terminal window.
Refer to SingleStore Client Installation for information on installing, upgrading, or uninstalling the client.singlestore-client, use the singlestore command to connect to your SingleStore database.
The singlestore command is a wrapper script that starts the singlestore-client binary with predefined connection options, including --no-defaults.singlestore --help to view additional supported connection options.
While the following options may appear in the output of singlestore --help, these are not supported by the singlestore command (wrapper):
-
--defaults-file -
--defaults-extra-file -
--defaults-group-suffix -
--no-defaults(implicitly applied) -
--login-path
These options are only supported as leading arguments in the command line.singlestore wrapper inserts its own options before the user-specified arguments, these options are not treated as leading arguments and are rejected by the option parser.singlestore command does not read MySQL option files, such as my..
To use an option file for connection configuration or credentials, run the singlestore-client binary directly and specify --defaults-file as the first option.
/usr/lib/singlestore-client/singlestore-client \--defaults-file=/path/to/file.cnf
If the client was installed from a tarball, the singlestore-client binary is located in the lib directory within the extracted directory.
For more connection options, help is available through singlestore --help.
singlestore -h <Master-or-Child-Aggregator-host-IP-address> -P <port> -u <user> -p<secure-password>
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.7.32 SingleStoreDB source distribution (compatible; MySQL Enterprise & MySQL Commercial)
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
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.
singlestore>Last modified: