Arthritis, Joint Pains Doctors say that people suffering from knee pain, leg pain, joint pain should stay away from vegetables like tomatoes, potatoes, capsicum, and brinjal. These vegetables contain an element called solanine. It causes burning and pain in the joints in some people. Especially it increases joint pain. That's why arthritis patients should not eat brinjal.