#!/bin/bash
password=“xxxxxxx”
kubectl -n xxxxns exec -it mysql-0-0 -- mysql -h10.1.5.1 -P3306 -u dbuser -Deip -p$password -e "select * from iptbs" | while read line
do
echo "Row: $line"
done
#!/bin/bash
password=“xxxxxxx”
kubectl -n xxxxns exec -it mysql-0-0 -- mysql -h10.1.5.1 -P3306 -u dbuser -Deip -p$password -e "select * from iptbs" | while read line
do
echo "Row: $line"
done
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M