summaryrefslogtreecommitdiff
path: root/localserver/givegm.sh
blob: ac9d3017f158acec99291a90f660ab1e7ed6c3f3 (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

ID="$1"
if [[ -z "${ID}" ]]; then
    mysql -u evol -pevol evol -e "update login set group_id=99 where account_id=2000000;"
else
    mysql -u evol -pevol evol -e "update login set group_id=99 where account_id=${ID} or userid='${ID}';"
fi