Product evaluation hassles

Product evaluation hassles

Postby Guest » Wed 12 Jan 2005 17:41

I posted a message yesterday about the lack of product documentation, and as a consequence, another message about not having a clue how to use shared memory connections.

While I understand that people on the dotnet MySQL mailing list don't reply because it's a free product, I'm puzzled that no one at CoreLab bothered with these messages since I'm evaluating their product and I won't be able to buy if I couldn't get it to work or read its docs.

I appreciate it if anyone from CoreLab answered those messages.
Guest
 

Re: Product evaluation hassles

Postby Oleg » Thu 13 Jan 2005 16:10

You can download trial version of MySQLDirect .NET and learn a documentation.
MySQLDirect .NET Trial is available for download at http://www.crlab.com/mysqlnet/mysqlnet.msi
Oleg
Devart Team
 
Posts: 264
Joined: Thu 28 Oct 2004 13:56

Shared memory access not working

Postby Guest » Thu 13 Jan 2005 19:55

The documentation says that the protocl connection string property should accept the values TCP, Pipe, and Memory. When the I specifiy "Protocol=Memory" in the connection string, I get:

Unhandled Exeption: Wrong or unknown protocol

This is a code snippet:
Code: Select all
MySqlConnection conn = new MySqlConnection("server=localhost;user id=myuid; password=mypwd; database=mydb; protocol=memory;");
MySqlCommand cmd = new MySqlCommand(String.Format("select * from sometable where rowno >= {0} limit {1}", startrow, pagesize), conn);
conn.Open();
MySqlDataReader rdr = cmd.ExecuteReader();


It's bombing on ExecuteReader(). If I remove "protocol=memory" from the connection string, it works fine.

Am I doing something wrong?

I really need to get that shared memory access working to avoid the overhead of the loopback TCP stack.

Thanks!
Guest
 

Re: Shared memory access not working

Postby Oleg » Fri 14 Jan 2005 09:15

This question has already been discussed in the forum.
Please see topic: Shared Memory connections.
Oleg
Devart Team
 
Posts: 264
Joined: Thu 28 Oct 2004 13:56


Return to dotConnect for MySQL