Hello,
it looks like you do not really know what you are doing, and by changing variables without looking into what they do, you could do more harm than good.
Anyway, the problem lies in [sections].
You should write your lines under "[mysqld]" section in order for them to take effect. What I...