通过管理接口配置ProxySQL
2024-09-07 01:01:14
可以使用mysql客户端来连接管理接口,以下是使用admin凭据连接到本地6032端口的管理接口:
$ 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>
注意:如果你的MySQL客户端版本为8.04或更高版本,需要在上面连接到管理接口的命令行上加上--default-auth=mysql_native_password
最新文章
- LeetCode Reverse Vowels of a String
- Java 自动装箱与拆箱
- 数据结构之图 Part2 - 1
- Leetcode: Kth Smallest Element in a Sorted Matrix
- C++-标准输入输出
- 启动hadoop
- Swift中if let name = optionName {}解释
- 自己写http获取网络资源和解析json数据
- 关于Update语句的锁
- 解决 MySQL 分页数据错乱重复
- Codeforces Round #419 (Div. 2)
- 1060. Are They Equal (25)
- 自定义react数据验证组件
- 【新特性】JDK1.9
- X100S Collection Before 2014/08/01
- 使maven2在下载依赖包的同时下载其源代码包。
- 关于Unity中的世界坐标和局部坐标
- java 加载过程
- 10-10Linux的文件操作函数以及所需头文件
- js脚本快速评课----中科大教务系统