Has anyone used shared memory connections?
I tried to use the shared memory connection by adding "protocol=memory" to the connection string, but I'm getting the following exception:
Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts ---> MySql.Data.MySqlClient.MySqlExc
eption: Failed to open shared memory connection
at MySql.Data.MySqlClient.SharedMemoryStream.GetConnectNumber(Int32 timeOut)
at MySql.Data.MySqlClient.SharedMemoryStream.Open(Int32 timeOut)
at MySql.Data.MySqlClient.NativeDriver.Open()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at TestMySQLSharedMemroy.SharedMemoryTest.Main(String[] args) in c:\testmysqlsharedmemroy\class1.cs:line 30
This is the connection string I'm using:
"server=localhost;user id=myuserid; password=mypassowrd; database=mydb; protocol=memory;"
Has anyone been successful with memory connections?
Thanks!
Subject
Written By
Posted
Has anyone used shared memory connections?
January 12, 2005 12:25PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.