test.sh - bind to db