Cut to the chase:
Windows 10 x64 host machine runs VMWare Player 12 which runs 'TDE 16.00.04 SLES 11' linux OS downloaded from teradata website. The virtual machine is pre-installed with teradata DB and it works fine, I can connect to it with Teradata Studio Express from the host machine.
(Also there is an adhoc.c file which can help you to test the ODBC connectivity on the VM and it also works fine).
I've downloaded and installed the 'Teradata ODBC Driver For Windows' from teradata site.
Using Delphi Berlin 10.1 I've created a new project, added TFDConnection component and TFDPhysTDataDriverLink component to the main form, added button to set connection string and to connect to DB.
Set the TFDPhysTDataDriverLink ODBCDriver property to 'Teradata Database ODBC Driver 16.00'. Set connection string:
Connection.Params.Values['DriverID'] := 'TData';
Connection.Params.Values['Server'] := '192.168.56.128';
Connection.Params.Values['Database'] := 'dbc';
Connection.Params.Values['User_Name'] := 'dbc';
Connection.Params.Values['Password'] := 'dbc';
When I try to connect, the exception I've got says nothing:[FireDAC][Phys][ODBC]
(Yes, thats all, nothing else)
I've also tried add User and System DSN entry (32bit) and tried to set the Datasource param:
Connection.Params.Values['DriverID'] := 'TData';
Connection.Params.Values['Datasource']:= 'testdsn';
Connection.Params.Values['User_Name'] := 'dbc';
Connection.Params.Values['Password'] := 'dbc';
When I do this, the error msg says:
Data source name not found and no default driver specified
How can I properly setup the connection from delphi? How can I get info about the problem?
Any ideas what can be the problem?
Any suggestions would be greatly appreciated.