Mysql运维简单命令
时间:2021-06-09 15:31:03
收藏:0
阅读:0
连接Mysql客户端
-
mysql -hxxx.xx.x.x -uxxx -p‘xxxxxx‘ -P xxx -- ip 用户名 密码 端口号
show slave status\G;
- 在MYSQL的主从复制中 ,通过命令show master status,可以查看master数据库当前正在使用的二进制日志及当前执行二进制日志位置
评论(0)