I quit taking statins for that reason...............
Though they were playing games with my sugar levels, I stopped them due to the fact they prevented me from taking a step without pain. Stopped the statins and the muscle pain ceased. Doctor put me on Niacin several years ago.