This chapter describes how to install the SQLDBC SDK software.
The following operating systems are supported:
Microsoft Windows (x86) | maxdb-all-win-32bit-i386-7_5_00_34.zip |
Microsoft Windows (IA64) | maxdb-all-win-64bit-ia64-7_5_00_34.zip |
Linux (x86) | maxdb-all-linux-32bit-i386-7_5_00_34.tgz |
Linux (IA64) | maxdb-all-linux-64bit-ia64-7_5_00_34.tgz |
Sun Solaris (Sparc, 64-bit) | maxdb-all-sun-64bit-sparc-7_5_00_34.tgz |
HP-UX (HPPA, 64-bit) | maxdb-all-hpux-64bit-hppa-7_5_00_34.tgz |
HP-UX (IA64, 64-bit) | maxdb-all-hpux-64bit-ia64-7_5_00_34.tgz |
IBM AIX (PowerPC, 64-bit) | maxdb-all-aix5-64bit-ppc-7_5_00_34.tgz |
Tru64 (Alpha, 64-bit) | maxdb-all-true64-64bit-alpha-7_5_00_34.tgz |
Unpack the downloaded file.
Change to the directory to which you have unpacked the installation package.
Install the components 'Base' and 'Database Connectivity' using the following commands:
./SDBINST -package Base
./SDBINST -package "Database Connectivity"
The Base component is required for SQLDBC SDK. If you have already installed any MaxDB component, you can skip the first command.
Select the SQLDBC package that matches your operating system architecture.
Microsoft Windows (x86) | maxdb-sqldbc-win-32bit-i386-7_5_00_34.zip |
Microsoft Windows (IA64) | maxdb-sqldbc-win-64bit-ia64-7_5_00_34.zip |
Linux (x86) | maxdb-sqldbc-linux-32bit-i386-7_5_00_34.tgz |
Linux (IA64) | maxdb-sqldbc-linux-64bit-ia64-7_5_00_34.tgz |
Sun Solaris (Sparc, 64-bit) | maxdb-sqldbc-sun-64bit-sparc-7_5_00_34.tgz |
HP-UX (HPPA, 64-bit) | maxdb-sqldbc-hpux-64bit-hppa-7_5_00_34.tgz |
HP-UX (IA64, 64-bit) | maxdb-sqldbc-hpux-64bit-ia64-7_5_00_34.tgz |
IBM AIX (PowerPC, 64-bit) | maxdb-sqldbc-aix5-64bit-ppc-7_5_00_34.tgz |
Tru64 (Alpha, 64-bit) | maxdb-sqldbc-true64-64bit-alpha-7_5_00_34.tgz |
Unpack the tarball to a local directory of your choice using the following command:
tar -xvzf <archive_name>
The MaxDB software and documentation can be found at the MaxDB by MySQL homepage.
On Microsoft Windows
<indep_prog>/pgm/libSQLDBC.dll | The SQLDBC shared C++ runtime library |
pgm/libSQLDBC_C.dll | The SQLDBC shared C support runtime library |
bin/sqldbc_cons.exe | SQLDBC console for tracing and debugging |
sdk/sqldbc/lib/libSQLDBC.lib | The SQLDBC C++ import library |
sdk/sqldbc/lib/libSQLDBC_C.lib | The SQLDBC C support import library |
sdk/sqldbc/incl/SQLDBC.h | The SQLDBC SDK C++ header file |
sdk/sqldbc/incl/SQLDBC_C.h | The SQLDBC SDK native C support header file |
sdk/sqldbc/incl/SQLDBC_Types.h | The SQLDBC SDK type definition header file |
On UNIX/LINUX
<indep_prog>/pgm/libSQLDBC.so | The SQLDBC shared C++ runtime library |
pgm/libSQLDBC_C.so | The SQLDBC shared C support runtime library |
bin/sqldbc_cons | SQLDBC console for tracing and debugging |
sdk/sqldbc/incl/SQLDBC.h | The SQLDBC SDK C++ header file |
sdk/sqldbc/incl/SQLDBC_C.h | The SQLDBC SDK native C support header file |
sdk/sqldbc/incl/SQLDBC_Types.h | The SQLDBC SDK type definition header file |
Make sure that a C/C++ compiler, for example gcc, is installed on your system.
The Example section describes how to build the Hello World example application.