[Mono-list] ByteFx.Data.MySQLClient.MySQLConnection - connection refused - mysql 4.0.13-2

Maurizio Colucci seguso.forever@tin.it
Tue, 24 Jun 2003 20:47:04 +0200

> the last line gives the following error:
> Unhandled Exception: System.Net.Sockets.SocketException: Connection refused
> in (unmanaged) /usr/lib/libmono.so.0(mono_raise_exception+0x20)

I'm sorry. Just now, I've read a previous post of yours where you say:


The difference is that mono.data.mysql is "only a binding" of
libmysqlclient to c# (mono), so it uses the standard libmysqlclient
which can connect to a mysql server through standard unix socket.
That said mysqlnet is a 100% managed data provider and i guess it
supports only tcp/ip connection.
In order to use it you need to reconfigure your mysqld to allow tcp/ip


Hmmm... does anybody know how to reconfigure mysqld for that purpose
:-) ?