Before jumping to the conclusion, it is better to check the USB port of your computer, try to connect the mouse with another one. If it works, then your mouse is in good shape, otherwise check drivers and mouse mouse maybe they have some issue.