Troubleshooting
Problem
Symptom
select count(*) from dbo.datasource_group_memberships
SQL1822N Unexpected error code "08S01" received from data source "XYZDataSource".
Associated text and tokens are "func="DriverConnect" msg="General network error.error. Check your network documentation."
Running 'example', an ODBC DataDirect sample application will return similar error:
./example DataDirect Technologies, Inc. ODBC Example Application.
Enter the data source name : XYZDataSource
Enter the user name : db2inst1
Enter the password : <password supplied>
SQLSTATE = 08S01
NATIVE ERROR = 11
MSG = [IBM(DataDirect OEM)][ODBC SQL Server Legacy Driver][libssclient27]General network error. Check your network documentation.
SQLSTATE = 01000
NATIVE ERROR = 11
MSG = [IBM(DataDirect OEM)][ODBC SQL Server Legacy Driver][libssclient27]ConnectionRead (recv()).
SQLConnect: Retrying Connect.
SQLSTATE = 08S01
NATIVE ERROR = 11
MSG = [IBM(DataDirect OEM)][ODBC SQL Server Legacy Driver][libssclient27]General network error. Check your network documentation.
SQLSTATE = 01000
NATIVE ERROR = 11
MSG = [IBM(DataDirect OEM)][ODBC SQL Server Legacy Driver][libssclient27]ConnectionRead (recv()).
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
01 May 2025
UID
swg21962323