Powering up Arduino Mega through GND port

I am pretty ignorant when it comes to electronics. I am trying to connect to this servo motor trough a 9V battery, as shown in the picture:

I have made the wiring right, but when i connect the VIN to the battery, the arduino led powers up, i'm not sure it should and i'm scared of damaging it.

Can someone confirm what i'm doing is right?

Yeah, it's not something you should be doing and can (over time) damage your Arduino. The best thing to do is plug the 9V (try to get some AAA's or LiPo's instead) into a switch and use the switch to control power to both the Arduino Vin pin and the servo at the same time.

Hello Soratto,

  1. How do you power up your Arduio?
  2. Are we to understand that the "12 V DC" item represents 9 volt battery?
  3. Please check that your servo can rum from 9V. Many of them
    run from 4.5 to 6V.
  4. I would move the blue servo (control) wire to pin 9~. Then you
    could load the "servo" sketch supplied (either "knob" or "sweep")
    and use your servo.
    The red and black wires are connected correctly.
    Herb