blob: 1350522977c90486d66e3716b74c1bbd58850ccb (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/bash
ID="$1"
if [[ -z "${ID}" ]]; then
mysql --host=127.0.0.1 -u evol -pevol evol -e "update login set group_id=99 where account_id=2000000;"
else
mysql --host=127.0.0.1 -u evol -pevol evol -e "update login set group_id=99 where account_id=${ID} or userid='${ID}';"
fi
|