You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May be it's not related to DBD::ODBC, but I encountered problem with FreeTDS 1.3rc2, and the problem occurs only for Perl code.
All worked fine with 1.2 version of driver, but I needed to have sqlserver 2019 and utf8 collation, so I switched to new version.
And my environmet configuration is: [application]
my $dsn_odbc = 'dbi:ODBC:Driver=FreeTDS13;Servername=FreeTDS_local_19';
my $dbh = $dbh = myDBI->connect(our $dsn_odbc, our $db_user, our $db_pasw);
Application run result:
DBI connect('Driver=FreeTDS13;Servername=FreeTDS_local_19','SA',...) failed: [unixODBC][FreeTDS][SQL Server]Unable to connect: Adaptive Server is unavailable or does not exist (SQL-08S01) [state was 08S01 now 08001]
[unixODBC][FreeTDS][SQL Server]Unable to connect to data source (SQL-08001) [state was 08001 now 01000]
[unixODBC][FreeTDS][SQL Server]Unknown host machine name. (SQL-01000)
The text was updated successfully, but these errors were encountered:
May be it's not related to DBD::ODBC, but I encountered problem with FreeTDS 1.3rc2, and the problem occurs only for Perl code.
All worked fine with 1.2 version of driver, but I needed to have sqlserver 2019 and utf8 collation, so I switched to new version.
And my environmet configuration is:
[application]
[/etc/odbcinst.ini]
[/etc/odbc.ini] (it seems FreeTDS ignore odbc.ini, but anyway)
[/etc/freetds.conf]
isql result:
Application run result:
DBI connect('Driver=FreeTDS13;Servername=FreeTDS_local_19','SA',...) failed: [unixODBC][FreeTDS][SQL Server]Unable to connect: Adaptive Server is unavailable or does not exist (SQL-08S01) [state was 08S01 now 08001]
[unixODBC][FreeTDS][SQL Server]Unable to connect to data source (SQL-08001) [state was 08001 now 01000]
[unixODBC][FreeTDS][SQL Server]Unknown host machine name. (SQL-01000)
The text was updated successfully, but these errors were encountered: