Page 1 of 1

How Mysqldirect.Net Decide The Mode?

Posted: Wed 23 May 2007 12:32
by Amish
HI,

In the Detail of MysqlDirect.Net You have written that "It can work directly in direct mode and it will work using 'libmysql.dll' in client mode".

I just wanted to know that how it will decide that it is in direct mode or in client mode????


Thank you

Posted: Wed 23 May 2007 12:53
by Alexey
The decision is made by a user which sets the Direct attribute of the connection string to True or False.

Posted: Thu 24 May 2007 05:13
by Amish
hi

i am using mysqldirect.net 3.55 for framework 1.0 and vs.net 2002.
i have a project in which i did not use this attribute anywhere in it.
although it is working fine on the client, it showed an error "Could not load dll 'libmysql.dll"" but after adding the reference to the dll it works fine.

In this account your statement seems awkward as you said that user will decide using Direct attribute of connection object.

If we do set this attribute, will it directly add the reference of this dll?

Please Explain....

Thanks

Posted: Thu 24 May 2007 06:50
by Alexey
Direct should be true by default. If it is not, please send me a test project to reproduce this problem. Use e-mail address provided in the Readme file.
If we do set this attribute, will it directly add the reference of this dll?
Of course, not. You should do this manually.

Posted: Thu 24 May 2007 08:33
by Amish
hi

i have sent a project by mail on email id "mysqlnet at crlab dot com".
subject:"Test Project For Alexy( To decide The Mode Of Mysql)".

I have sent it with source and necessary information.

hope u get the problem...

Thanks

Posted: Thu 24 May 2007 09:37
by Alexey
Your project is received and is being investigated.