#/bin/bash
mysql -h127.0.0.1 -uroot -P3306 -p123 datebase -e "update user SET password='123456' WHERE id=1;"
echo "执行成功"
#/bin/bash
mysql -h127.0.0.1 -uroot -P3306 -p123 datebase -e "update user SET password='123456' WHERE id=1;"
echo "执行成功"