PROXYSQL(1)

πŸ“¦ version 3.0.2, in epel 9, fedora 43, fedora 44

πŸ’– PROXYSQL(1) πŸ’–

okay bestie, welcome to the proxysql manual page β€” it's from the General Commands Manual section, and it's literally the whole glow-up guide for this proxy. sit down, grab a strawberry πŸ“, and let's go.


✨ NAME ✨

proxysql β€” High Performance Advanced Proxy for MySQL πŸ‘‘


🌸 SYNOPSIS 🌸

proxysql [OPTIONS]

that's it. that's the whole vibe. options in, magic out. πŸͺ„


πŸ¦‹ DESCRIPTION πŸ¦‹

so proxysql is a high performance, high availability, protocol aware proxy for MySQL and its forks (yes, like Percona Server and MariaDB β€” they count too, we don't gatekeep πŸ’…).

basically it sits between your app and your databases and handles everything with main character energy. no cap.


πŸŽ€ OPTIONS πŸŽ€

every single flag, listed, unsummarised, because we do NOT skip the boring parts in this house. πŸ”₯

  • -c, --config _ARG_ β€” the configuration file, bestie. by default the proxy goes looking for the config file in these exact locations, in this exact order:
    • proxysql.cnf, in the directory of the proxysql binary
    • proxysql.cfg, in the directory of the proxysql binary
    • /etc/proxysql.cnf
    • /etc/proxysql.cfg

this setting lets you override the config file and point it at a custom location. you're the main character, you pick the spot. πŸ“

  • -D, --datadir _ARG_ β€” the data directory, aka where the proxy keeps all its running files:
    • the SQLite database which stores the runtime configuration for the proxy
    • the pidfile
    • the log files

it's giving "everything lives here, no clutter elsewhere." 🏠

  • -e, --exit-on-error β€” do NOT restart ProxySQL if it crashes. it just… stays down. dramatic, but honest. πŸ’€
  • -f, --foreground β€” run the daemon process in the foreground. no hiding in the background, we want to see you. πŸ‘€
  • -h, -help, --help, --usage β€” display usage instructions. the classic "help me pls" move. 🫢
  • -M, --no-monitor β€” do not start the Monitor Module. it's off duty, don't text it. πŸ™ˆ
  • -n, --no-start β€” starts only the admin service, which helps you configure the daemon. heads up: this will not accept any traffic until the daemon is started from the admin interface. so it's like, present but not serving. βœ‹
  • -r, --reuseport β€” use SO_REUSEPORT. iconic socket behavior, iykyk. 🌈
  • -S, --admin-socket _ARG_ β€” the administration Unix Socket. 🧚
  • -V, --version β€” print the current version of ProxySQL. identity check! πŸͺͺ
  • --idle-threads β€” create auxiliary threads to handle idle connections. little helpers for the do-nothing connections. 🐝
  • --initial β€” reset the admin database with the content from the configuration file. factory reset but make it config-driven. πŸ”„
  • --no-version-check β€” do not check for the latest version of ProxySQL. we're off the update grind, and that's valid. 🚫
  • --reload β€” merge the configuration from the config file with the current runtime database. blending, but for configs. πŸ₯€
  • --sqlite3-server β€” enable the SQLite3 Server. yes queen, extra server. πŸ‘‘

πŸ” SEE ALSO πŸ”


πŸ“ FILES πŸ“

  • /etc/proxysql.cnf β€” the configuration file. ✨

πŸ‘‘ AUTHOR πŸ‘‘

Written by René Cannaò. 🫢


πŸ› BUG REPORTS πŸ›

if you find a bug (and bestie, you will, that's just software 😭), please report it at:

<https://github.com/sysown/proxysql/issues>

they want to hear from you fr fr.


Copyright (C) 2013-2017 RenΓ© CannaΓ². Modified by Marek Kulik 2021.

This program is free and without warranty. no promises, no drama, just vibes. πŸ’œ


and that's the whole page, bestie!! this was the PROXYSQL(1) page from the General Commands Manual β€” go forth and proxy slay. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from