summaryrefslogtreecommitdiffstats
path: root/debian/manpages/mycli.1
blob: e7d5b53ec977909bddca908ee59cc59273ca9027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH MYCLI 1 "May 05, 2016"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
mycli \- Command line client for MySQL/MariaDB and Percona
.SH SYNOPSIS
\fBmycli\fP [\fIOPTIONS\fP] \fI[DATABASE\fP]
.SH DESCRIPTION
mycli is a command line interface for MySQL, MariaDB, and Percona with
auto-completion and syntax highlighting. The CLI is also capable of pretty
printing tabular data.
.SH OPTIONS
.TP
.BI -h|--host\ \fITEXT\fP
Host address of the database
.TP
.BI -P|--port\ \fIINTEGER\fP
Port number to use for connection. Honors $MYSQL_TCP_PORT
.TP
.BI -u|--user\ \fITEXT\fP
User name to connect to the database
.TP
.BI -S|--socket\ \fITEXT\fP
The socket file to use for connection.
.TP
.BI -p|--password|--pass\ \fITEXT\fP
Password to connect to the database
.TP
.BI -v|--version
Version of mycli
.TP
.BI -D|--database\ \fITEXT\fP
Database to use
.TP
.BI -R|--prompt\ \fITEXT\fP
Prompt format \fI(Default: "\\t \\u@\\h:\\d> "\fP)
.TP
.BI -l|--logfile\ \fIFILENAME\fP
Log every query and its results to a file
.TP
.BI --defaults-group-suffix\ \fITEXT\fP
Read config group with the specified suffix
.TP
.BI --defaults-file\ \fIPATH\fP
Only read default options from the given file
.TP
.BI --login-path\ \fITEXT\fP
Read this path from the login file
.TP
.BI --help
Shows the help message and exit
.RE
.SH AUTHOR
mycli is written by Amjith Ramanujam (http://mycli.net)
.PP
This manual page was written by Lennart Weller <lhw@ring0.de>,
for the Debian project (but may be used by others).