Problems with MySqlDirect .NET Embedded server
Posted: Mon 18 Dec 2006 23:52
I have been trying to get my application to connect an embedded server using the data provider with no success.
I have no MySQL servers or services running, I have tried libmysql.dlls from 4.0, 4.1 and 5.1, I have tried creating databases in each of these versions as well as copying the share folders over and trying each systematically but I continue to get the same result. When I run the application, I get the exception
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt".
Also, the tools for VS 2005 have not liked the embedded server either, dropping out with a variety of messages including the one above.
I have been searching the net and the forums but still not found a solution. I was just wondering if anyone has any ideas or if they can point out what I might be doing wrong.
I have tried using both a my.ini file and the server parameters method, same result. It is probably something stupid but then I have tried everything I can think of.
Thanks for any help in advance.
I have no MySQL servers or services running, I have tried libmysql.dlls from 4.0, 4.1 and 5.1, I have tried creating databases in each of these versions as well as copying the share folders over and trying each systematically but I continue to get the same result. When I run the application, I get the exception
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt".
Also, the tools for VS 2005 have not liked the embedded server either, dropping out with a variety of messages including the one above.
I have been searching the net and the forums but still not found a solution. I was just wondering if anyone has any ideas or if they can point out what I might be doing wrong.
I have tried using both a my.ini file and the server parameters method, same result. It is probably something stupid but then I have tried everything I can think of.
Thanks for any help in advance.