flushdb and select the correct db