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.
Product evaluation hassles
Re: Product evaluation hassles
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
MySQLDirect .NET Trial is available for download at http://www.crlab.com/mysqlnet/mysqlnet.msi
Shared memory access not working
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:
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!
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();
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!
Re: Shared memory access not working
This question has already been discussed in the forum.
Please see topic: Shared Memory connections.
Please see topic: Shared Memory connections.