<div>Estou com esse problema na conexão do freetds</div><div> </div><div> </div><div># <a href="http://exportar_cdr.pl">exportar_cdr.pl</a></div><div><br>DBI connect('SERVER555','LOGIN_SQL',...) failed: [unixODBC][FreeTDS][SQL Server]Unable to connect to data source (SQL-08001) [state was 08001 now 01000]<br>
[unixODBC][FreeTDS][SQL Server]Unknown host machine name. (SQL-01000) at /usr/local/bin/<a href="http://exportar_cdr.pl">exportar_cdr.pl</a> line 68<br>Unable for connect to server: [unixODBC][FreeTDS][SQL Server]Unable to connect to data source (SQL-08001) [state was 08001 now 01000]<br>
[unixODBC][FreeTDS][SQL Server]Unknown host machine name. (SQL-01000)</div><div> </div><div># TDSVER=7.0 tsql -S SERVER555 -p 1433 -U LOGIN_SQL <<<<<aqui roda legal</div><div> </div><div>a tal linha 68 ai </div>
<div> </div><div> $dst = DBI->connect("dbi:ODBC:SERVER555", 'LOGIN_SQL', 'SENHA') or begin {<br> print "Unable for connect to server: $DBI::errstr\n";<br> return;</div>
<div> </div><div> </div><div>vlw<br></div>