码迷,mamicode.com
首页 > 数据库 > 详细

mysql 删除

时间:2020-06-10 18:48:56      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:att   des   and   command   cut   Opens   watch   from   tac   

mysql -u$DB_USER -p$DB_PASS reviewdb -e "DELETE FROM account_project_watches WHERE project_name=‘openstack/openstack-ci‘;"
mysql -u$DB_USER -p$DB_PASS reviewdb -e "DELETE FROM changes WHERE dest_project_name=‘openstack/openstack-ci‘;"
mysql -u$DB_USER -p$DB_PASS reviewdb -e "DELETE FROM submodule_subscriptions WHERE submodule_project_name=‘openstack/openstack-ci‘;"

-e, --execute=name  Execute command and quit. (Disables --force and history file.)

sudo mv ~gerrit2/review_site/git/{openstack-attic/akanada,openstack-attic/akanda}.git  #这种mv方式,值得学习
sudo mv /opt/lib/git/{openstack-attic/akanada,openstack-attic/akanda}.git

 

mysql 删除

标签:att   des   and   command   cut   Opens   watch   from   tac   

原文地址:https://www.cnblogs.com/longchang/p/13087350.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!