[freetds] Connection Errors...

Rick Conner rick at rickconner.com
Sat Jun 18 14:23:29 EDT 2005


>Here's your log:
>
>15:33:45.330577 tds_put_string converting 10 bytes of "DB-Library" 
>15:33:45.330590 tds_put_string wrote 20 bytes 
>15:33:45.330603 tds_put_string converting 10 bytes of "us_english" 
>15:33:45.330616 tds_put_string wrote 20 bytes 
>15:33:45.330629 tds_put_string wrote 0 bytes 
>
>From src/tds/login.c:
>
>tds_put_string(tds, tds_dstr_cstr(&connection->library), library_len);
>tds_put_string(tds, tds_dstr_cstr(&connection->language), language_len);
>tds_put_string(tds, tds_dstr_cstr(&connection->database), database_len);
>
>If you don't specify a database name when you connect, that field in the
>login packet is empty.  

++++++++++++++++++++++++++++++
So are you saying that the database name is not being sent?


Rick
++++++++++++++++++++++++++++++




More information about the FreeTDS mailing list