How Mysqldirect.Net Decide The Mode?

How Mysqldirect.Net Decide The Mode?

Postby Amish » Wed 23 May 2007 12:32

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
Amish
 
Posts: 20
Joined: Thu 05 Apr 2007 12:04
Location: INDIA

Postby Alexey » Wed 23 May 2007 12:53

The decision is made by a user which sets the Direct attribute of the connection string to True or False.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Amish » Thu 24 May 2007 05:13

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
Amish
 
Posts: 20
Joined: Thu 05 Apr 2007 12:04
Location: INDIA

Postby Alexey » Thu 24 May 2007 06:50

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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Amish » Thu 24 May 2007 08:33

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
Amish
 
Posts: 20
Joined: Thu 05 Apr 2007 12:04
Location: INDIA

Postby Alexey » Thu 24 May 2007 09:37

Your project is received and is being investigated.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL