提交 78dc2bdf 编写于 作者: C chang

fix: sys -> monitor stream -> _root

上级 08a816fc
...@@ -34,10 +34,10 @@ print =============== step3 ...@@ -34,10 +34,10 @@ print =============== step3
sql drop user read -x step31 sql drop user read -x step31
return -1 return -1
step31: step31:
sql drop user sys -x step32 sql drop user _root -x step32
return -1 return -1
step32: step32:
sql drop user stream -x step33 sql drop user monitor -x step33
return -1 return -1
step33: step33:
...@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43 ...@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43
return -1 return -1
step43: step43:
sql drop user sys -x step41 sql drop user _root -x step41
return -1 return -1
step41: step41:
sql drop user stream -x step42 sql drop user monitor -x step42
return -1 return -1
step42: step42:
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
PID=`ps -ef|grep /usr/bin/taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep /usr/bin/taosd | grep -v grep | awk '{print $2}'`
if [ -n "$PID" ]; then if [ -n "$PID" ]; then
echo sudo systemctl stop taosd echo systemctl stop taosd
sudo systemctl stop taosd systemctl stop taosd
fi fi
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
while [ -n "$PID" ]; do while [ -n "$PID" ]; do
echo sudo kill -9 $PID echo kill -9 $PID
sudo pkill -9 taosd pkill -9 taosd
sudo fuser -k -n tcp 6030 fuser -k -n tcp 6030
PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'` PID=`ps -ef|grep -w taosd | grep -v grep | awk '{print $2}'`
done done
...@@ -35,10 +35,10 @@ print =============== step3 ...@@ -35,10 +35,10 @@ print =============== step3
sql drop user read -x step31 sql drop user read -x step31
return -1 return -1
step31: step31:
sql drop user sys -x step32 sql drop user _root -x step32
return -1 return -1
step32: step32:
sql drop user stream -x step33 sql drop user monitor -x step33
return -1 return -1
step33: step33:
...@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43 ...@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43
return -1 return -1
step43: step43:
sql drop user sys -x step41 sql drop user _root -x step41
return -1 return -1
step41: step41:
sql drop user stream -x step42 sql drop user monitor -x step42
return -1 return -1
step42: step42:
......
...@@ -30,10 +30,10 @@ print =============== step3 ...@@ -30,10 +30,10 @@ print =============== step3
sql drop user read -x step31 sql drop user read -x step31
return -1 return -1
step31: step31:
sql drop user sys -x step32 sql drop user _root -x step32
return -1 return -1
step32: step32:
sql drop user stream -x step33 sql drop user monitor -x step33
return -1 return -1
step33: step33:
...@@ -64,11 +64,11 @@ sql alter user read privilege 1 -x step43 ...@@ -64,11 +64,11 @@ sql alter user read privilege 1 -x step43
return -1 return -1
step43: step43:
sql drop user sys -x step41 sql drop user _root -x step41
return -1 return -1
step41: step41:
sql drop user stream -x step42 sql drop user monitor -x step42
return -1 return -1
step42: step42:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册