[Mono-list] Connecting to a MySQL server using the netbios name instead of ip address
Jorge Bastos
mysql.jorge at decimal.pt
Tue Dec 30 16:14:33 EST 2008
Not mono or MySQL related,
You have to tune your hosts resolve order in your linux machine.
> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Olivier Duclos
> Sent: terça-feira, 30 de Dezembro de 2008 21:12
> To: mono-list at lists.ximian.com
> Subject: [Mono-list] Connecting to a MySQL server using the netbios
> name instead of ip address
>
> Hi,
>
> I have an application developed under Windows which connect to a MySQL
> database. The problem is the DB server doesn't (and cannot) have a
> static ip address. So, in our SqlConnectionString, we used the netbios
> computer name.
>
> This works under Windows but not under Linux. Any idea how to fix this
> ?
>
> Thanks for your help.
> --
> -OD
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list