All but the first IBM mouse, at the bottom left of the photo, used to connect with IBM's own PS/2 plug. The PS/2 became the standard mouse port after it was introduced on the IBM Personal System/2 computers in 1986. The USB protocol replaced it in the 1990s, as on the two black mice top right.
Group of IBM old mouses.
Examine the plug carefully to be sure your computer has the right socket for it.