
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.
Admin> proxysql stop
Restarting ProxySQL:
service proxysql restart
Or alternatively via the Admin interface:
$ mysql -u admin -padmin -h 127.0.0.1 -P6032 --prompt='Admin> '
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.5.30 (ProxySQL Admin Module)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
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.
Admin> proxysql restart
Reinitializing ProxySQL from the config file (after first startup the DB file is used
instead of the config file):
service proxysql initial
Upgrades
Just install the new package and restart ProxySQL:
wget
https://github.com/sysown/proxysql/releases/download/v1.4.9/proxysql_1.4.9-ubu
ntu16_amd64.deb
dpkg -i proxysql_1.4.9-ubuntu16_amd64.deb
service proxysql restart
How to check the ProxySQL version
$ proxysql --version
ProxySQL version v1.4.9-1.1, codename Truls
A debug version has _DEBUG in its version string. It is slower than non-debug version,
but easier to debug in case of failures.
$ proxysql --version
Main init phase0 completed in 0.000146 secs.
ProxySQL version v1.4.9-1.1_DEBUG, codename Truls
文档被以下合辑收录
评论