[unixODBC-support] Connection Issue with pthread on sun

Nick Gorham nick.gorham at easysoft.com
Fri Oct 21 10:55:03 BST 2005


shilpa wrote:

>Hi All,
>
>I am facing a problem when trying to connect to MySql database using unixODBC and using MyODBC drivers on a sun machine.
>
>I am able to connect without using pthreads however connection to Mysql database from my thread is giving following error on connection(SQLConnect):
>
>[unixODBC][MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '172.16.3.93' (0)
>
>The connection to Mysql database from a linux server is getting done quite easily even from pthreads.
>
>Can any suggest what could be the problem when I am trying to connect to a Mysql database from a sun machine using threads.
>
>Thanks,
>Shilpa
>  
>
Hi,

I can't think of a reason, however some of the solaris name lookup calls 
are not thread safe, so that "could" be a issue. I guess it will be a 
driver issue of some sort.

--
Nick Gorham
Easysoft Limited



More information about the unixODBC-support mailing list