I am trying to replace the dining room light fixture with a new one from IKEA. When I took down the old fixture and tried to connect to the new one, I wire colors didn't match up.
The ceiling has two wires: yellow and gray. There is no ground wire, which I was unexpected. (See picture)
The light fixture I want to install has three wires: black, white, and green/yellow.
The old light fixture had only two wires, both of which were the same color. There was no grounding wire on the old fixture.
I have two questions:
1) I don't know how to match up the yellow and gray wires from the ceiling with the white and black from the fixture.
2) What do I do with the grounding wire from the fixture, since there is no grounding wire in the ceiling metal box?
I appreciate the help.