[scripts] make reset-admin.sh support mysql