Dear all,
I am trying to connect to a MySql database from monodevelop. Iam using this connectionstring:
<connectionStrings>
<add name="larsConnectionString" connectionString="Initial Catalog=lars;
Data Source=localhost;User Id=root;Password=******;Pooling=False"
providerName="MySql.Data.MySqlClient"/>
<!-- <add name="larsConnectionString" connectionString="Data Source=192.168.0.113;
Initial Catalog=lars;User ID=lars;Password=******"
providerName="System.Data.SqlClient" /> -->
The connectionstring to SqlServer works fine.
I get the following errors when I try run the website:
System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00017] in /build/buildd/mono-2.10.8.1/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:210
at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x0008b] in /build/buildd/mono-2.10.8.1/mcs/class/System/System.Net.Sockets/Socket.cs:1289
at Mono.Data.Tds.Protocol.TdsComm..ctor (System.String dataSource, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion tdsVersion) [0x00111] in /build/buildd/mono-2.10.8.1/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs:118
I would be happy to supply you with any more information you ask for.
I have tried the mono and monodevelop lists without any reactions.
Best regards
Lars
I am trying to connect to a MySql database from monodevelop. Iam using this connectionstring:
<connectionStrings>
<add name="larsConnectionString" connectionString="Initial Catalog=lars;
Data Source=localhost;User Id=root;Password=******;Pooling=False"
providerName="MySql.Data.MySqlClient"/>
<!-- <add name="larsConnectionString" connectionString="Data Source=192.168.0.113;
Initial Catalog=lars;User ID=lars;Password=******"
providerName="System.Data.SqlClient" /> -->
The connectionstring to SqlServer works fine.
I get the following errors when I try run the website:
System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00017] in /build/buildd/mono-2.10.8.1/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:210
at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x0008b] in /build/buildd/mono-2.10.8.1/mcs/class/System/System.Net.Sockets/Socket.cs:1289
at Mono.Data.Tds.Protocol.TdsComm..ctor (System.String dataSource, Int32 port, Int32 packetSize, Int32 timeout, TdsVersion tdsVersion) [0x00111] in /build/buildd/mono-2.10.8.1/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs:118
I would be happy to supply you with any more information you ask for.
I have tried the mono and monodevelop lists without any reactions.
Best regards
Lars