Hey,

Florian Hester wrote:
> I am using the MySql Connecter for .NET to connect to the MySql server.
> But i am keep getting the following error:
> 
> Unhandled Exception: System.Net.Sockets.SocketException: The socket is not
> connected

[...]

> 
> The error happens when opening the MySql connection.
> 
> The server is located on the same computer on Linux. I have tried to
> connect to MySql with PHP which worked. I have tried gmcs and mcs
> compilers, but no difference.

The MySQL server is probably not configured to accept
network connections. You can test this with

        telnet localhost 3306

Comment out the "skip-networking" directive from /etc/my.cnf.

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to