1PROXYSQL(1) General Commands Manual PROXYSQL(1)
2
3
4
6 proxysql - High Performance Advanced Proxy for MySQL
7
9 proxysql [OPTIONS]
10
12 proxysql is a high performance, high availability, protocol aware proxy
13 for MySQL and forks (like Percona Server and MariaDB).
14
16 -c, --config ARG
17 Configuration file. By default, the proxy looks for the config
18 file in the following locations (in this exact order):
19
20 · `proxysql.cnf`, in the directory of the proxysql binary
21
22 · `proxysql.cfg`, in the directory of the proxysql binary
23
24 · `/etc/proxysql.cnf`
25
26 · `/etc/proxysql.cfg`
27
28 This setting allows you to override the configuration file, and
29 specify a custom location.
30
31 -D, --datadir ARG
32 The data directory is where the proxy keeps its running files:
33
34 · the SQLite database which stores the runtime configuration for
35 the proxy
36
37 · the pidfile
38
39 · the log files
40
41 -e, --exit-on-error
42 Do not restart ProxySQL if crashes.
43
44 -f, --foreground
45 Run the daemon process in the foreground.
46
47 -h, -help, --help, --usage
48 Display usage instructions.
49
50 -M, --no-monitor
51 Do not start Monitor Module.
52
53 -n, --no-start
54 Starts only the admin service, which helps to configure the dae‐
55 mon. This will not accept any traffic until the daemon is
56 started from the admin interface.
57
58 -r, --reuseport
59 Use SO_REUSEPORT.
60
61 -S, --admin-socket ARG
62 Administration Unix Socket.
63
64 -V, --version
65 Print the current version of ProxySQL.
66
67 --initial
68 Reset the admin database with the content from the configuration
69 file.
70
71 --reload
72 Merge the configuration from the config file with the current
73 runtime database.
74
76 https://github.com/sysown/proxysql/tree/master/doc -- Online documenta‐
77 tion
78
80 /etc/proxysql.cnf
81 Configuration file.
82
84 Written by René Cannaò.
85
87 If you find a bug, please report it at <https://github.com/sysown/prox‐
88 ysql/issues>
89
91 Copyright (C) 2013-2017 René Cannaò. This program is free and without
92 warranty.
93
94
95
96 PROXYSQL(1)