As previously posted ...
In your my.cnf (config file for mysqld) under the [mysqld] section (assumes Linux config file), insert:
Don't run Windows, so am assuming your my.ini file (is really the equiv to my.cnf on Linux) should have 'divisions/sections' defined by [somedesignator] ... those under [mysqld] refer to the mysqld daemon (service in Windows) and apply to settings for the daemon.
Again, changes to .cnf/.ini require restart of MySQL to take affect. After retarting MySQL check logs (where ever logs are stored for MySQL on Windows) for any 'events' ... ie, errors.
'spirit of sharing', Ken