|
|
358feff |
.TH PROXYSQL 1
|
|
|
358feff |
.SH NAME
|
|
|
358feff |
proxysql \- High Performance Advanced Proxy for MySQL
|
|
|
358feff |
.SH SYNOPSIS
|
|
|
358feff |
.B proxysql
|
|
|
358feff |
[\fIOPTIONS\fR]
|
|
|
358feff |
.SH DESCRIPTION
|
|
|
358feff |
.B proxysql
|
|
|
358feff |
is a high performance, high availability, protocol aware proxy for
|
|
|
358feff |
MySQL and forks (like Percona Server and MariaDB).
|
|
|
358feff |
.SH OPTIONS
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-c ", " \-\-config " "\fIARG\fR
|
|
|
358feff |
Configuration file.
|
|
|
358feff |
By default, the proxy looks for the config file in the following locations (in this exact order):
|
|
|
358feff |
.RS
|
|
|
358feff |
.IP \[bu] 2
|
|
|
358feff |
`proxysql.cnf`, in the directory of the proxysql binary
|
|
|
358feff |
.IP \[bu]
|
|
|
358feff |
`proxysql.cfg`, in the directory of the proxysql binary
|
|
|
358feff |
.IP \[bu]
|
|
|
358feff |
`/etc/proxysql.cnf`
|
|
|
358feff |
.IP \[bu]
|
|
|
358feff |
`/etc/proxysql.cfg`
|
|
|
358feff |
.RE
|
|
|
358feff |
.IP
|
|
|
358feff |
This setting allows you to override the configuration file, and specify a custom location.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-D ", " \-\-datadir " "\fIARG\fR
|
|
|
358feff |
The data directory is where the proxy keeps its running files:
|
|
|
358feff |
.RS
|
|
|
358feff |
.IP \[bu] 2
|
|
|
358feff |
the SQLite database which stores the runtime configuration for the proxy
|
|
|
358feff |
.IP \[bu]
|
|
|
358feff |
the pidfile
|
|
|
358feff |
.IP \[bu]
|
|
|
358feff |
the log files
|
|
|
358feff |
.RE
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-e ", " \-\-exit-on-error
|
|
|
358feff |
Do not restart ProxySQL if crashes.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-f ", " \-\-foreground
|
|
|
358feff |
Run the daemon process in the foreground.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-h ", " \-help ", " \-\-help ", " \-\-usage
|
|
|
358feff |
Display usage instructions.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-M ", " \-\-no-monitor
|
|
|
358feff |
Do not start Monitor Module.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-n ", " \-\-no-start
|
|
|
358feff |
Starts only the admin service, which helps to configure the daemon. This will
|
|
|
358feff |
not accept any traffic until the daemon is started from the admin interface.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-r ", " \-\-reuseport
|
|
|
358feff |
Use SO_REUSEPORT.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-S ", " \-\-admin-socket " "\fIARG\fR
|
|
|
358feff |
Administration Unix Socket.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-V ", " \-\-version
|
|
|
358feff |
Print the current version of ProxySQL.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-\-initial
|
|
|
358feff |
Reset the admin database with the content from the configuration file.
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR \-\-reload
|
|
|
358feff |
Merge the configuration from the config file with the current runtime database.
|
|
|
358feff |
.SH SEE ALSO
|
|
|
358feff |
https://github.com/sysown/proxysql/tree/master/doc -- Online documentation
|
|
|
358feff |
.SH FILES
|
|
|
358feff |
.TP
|
|
|
358feff |
.BR /etc/proxysql.cnf
|
|
|
358feff |
Configuration file.
|
|
|
358feff |
.SH AUTHOR
|
|
|
358feff |
Written by René Cannaò.
|
|
|
358feff |
.SH BUG REPORTS
|
|
|
358feff |
If you find a bug, please report it at <https://github.com/sysown/proxysql/issues>
|
|
|
358feff |
.SH COPYRIGHT
|
|
|
358feff |
Copyright (C) 2013-2017 René Cannaò.
|
|
|
358feff |
This program is free and without warranty.
|