I just upgraded the software to OS X Sierra and I use a multi usb port for connecting my mouse since there are just two usb port and the harddisk has to be plugged in directly. The light appears at the bottom of the mouse which means that the power is reaching the mouse but the mouse isnt detecting. Can anyone tell me what I should do to get my mouse working and it works fine on pc.

The update may have altered device settings. Check there to see if the mouse is detected, but not enabled.

I am pretty sure that the problem is with the port and if not, try formatting.