fix mine command to get db IP