actually the problem was the driver, i used (during the time of the problem) a new released version of the driver which had bugs that's why it crashed. but it's alright now.
With MySQL a few years ago, there was at that time two different suggested versions of Windows ODBC driver for MySQL. I deploy BOTH versions as I recall hearing that some things would work with one version and not the other version, and that neither version was "perfect" / preferred. I do not recall the version numbers of the drivers I have packaged.