mysql 删除
Posted 龙畅
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql 删除相关的知识,希望对你有一定的参考价值。
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 删除的主要内容,如果未能解决你的问题,请参考以下文章