[Mono-list] ByteFx.Data.MySQLClient.MySQLConnection - connection refused - mysql 4.0.13-2
Maurizio Colucci
seguso.forever@tin.it
Tue, 24 Jun 2003 23:09:36 +0200
Many, many thanks to Marco, which told me by mail:
<quote>
it's not too vague: it just states that you can't connect to mysql :-)
your problem is that mysqld doesn't listen on the tcp/ip port but uses
only unix domain socket. this is the debian default policy for mysql,
you have to allow tcp/ip conncetion for mysql in order to use myslqnet
provide because since it uses only tcp/ip sockets.
go to /etc/mysql/my.cnf and comment out the line skip-networking, this
should solve your problem
</quote>
Damn, I would never have found it out by myself.
I believe someone should update the page
http://www.go-mono.com/mysql
with this information. It would have spared my one whole day of
trials.
grazie di cuore. :-)
Maurizio