������ ����.
> Andrey> Are mysql know about this!!!
>
> Sorry but if your OS doesn't support gethostbyname_r(), then
> mysql_real_connect() is not thread safe (I have just updated our
> documentation about this)
Thank you.
>
> Another issue is that if your client dies in the dbug_ code, this
> means that you have probably not followed the instructions in the
> manual section:
>
> 'How to Make a Threaded Client'
>
> For example, have you called mysql_thread_init() before calling
> mysql_real_connect() in all your threads ?
>
Hmm... I use mysql_init() in each thread but:
8.4.4.4 my_thread_init()
.....
This is automatically called by my_init() and mysql_connect().
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And in manual:
To get a threaded client where you can interrupt the client from other
threads and set timeouts when talking with the MySQL server, you should
use the -lmysys, -lstring, and -ldbug libraries...
-lstring - where can I find it?
Is it -lmystrings ?
> Regards,
> Monty
Best regards.
_______________________________________
Andrey Kotrekhov [EMAIL PROTECTED]
ISP Alkar Teleport
���. +380 562 34-00-44
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php