Question: why naoh is formed near cathode?
Answer: Equilibrium shifts to produce more hydroxide ions as H+ ions are removed during hydrolysis. The net effect of this is that there is formation of sodium ions and hydroxide ions around the cathode, i.e formation of sodium hydroxide solution around the cathode.