Using Windows ODBC drivers
I have tested in my enterprise environment connections with my ERP in Ubuntu Wine Environments, with success!
Native ODBC drivers have been reported to work for many types of
databases including MSSQL and Oracle. In fact, some like MSSQL can
only be accessed on Linux through a Winelib app. Rather than
just copying DLL files, most ODBC drivers require a Windows-based
installer to run to properly configure things such as registry keys.
But for me, the best solution, in order to set up MSSQL support first we need to download
and run the mdac_typ.exe installer from microsoft.com.
In order to
configure your ODBC connections you must then run CLICONFG.EXE and
ODBCAD32.EXE under Wine. You can find them in the windows\system
directory after mdac_typ runs.
Compare the output of these programs
with the output on a native Windows machine.
Some things, such
as protocols, may be missing because they rely on being installed
along with the operating system. If so, you may be able to copy
missing functionality from an existing Windows installation as
well as any registry values required. A native Windows installation
configured to be used by Wine should work the same way it did
when run natively.
Sem comentários:
Enviar um comentário