Hi…I have to connect lotus notes to SQL/MySQL server through Lotus notes. My code is as follows
Dim con As New ODBCConnection
Dim qry As New ODBCQuery
Dim result As New ODBCResultSet
Set qry.Connection = con
Set result.Query = qry
Call con.ConnectTo("IP Address of sql server","username","passwd")
If (con.IsConnected) Then
Print "Connected to DB... DSN=" & con.DataSourceName
End If
This code does not connect to the SQL server.
ODBC driver has to be installed on LN server? or is there anything else we are missing on??
Our server is running on Linux red hat 5.0
Please help…