Configuration settings
You are viewing an old version of this article. View
the current version here.
Configuration settings
Connector/C specifies his build process with platform-independent CMake listfiles included in each directory of a source tree with the name CMakeLists.txt. Configuration options may be specified by passing the -D option to CMake command line interpreter.
Example:
cmake ../connector_c -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
CMake related configuration settings
CMAKE_BUILD_TYPE | Build type: Release, RelWithDebInfo or Debug |
CMAKE_INSTALL_PREFIX | Installation base directory |
CMAKE_C_FLAGS | Flags for C-Compiler |
TLS/SSL options
Option | Default | Description |
WITH_OPENSSL | ON | Possible values are ON or OFF. Not supported anymore since Connector/C 3.0 |
WITH_SSL | SCHANNEL (windows), otherwise OPENSSL | Specifies type of TLS/SSL library. E.g. GNUTLS, OPENSSL or SCHANNEL (Windows only). OFF disables TLS/SSL functionality |
Client plugins
Client plugins can be configured as dynamic plugins (DYNAMIC) or built-in plugins (STATIC). Connector/C supports the following plugins:
Plugin | Type | Default | Description |
SOCKET | IO | static | plugin for client server communication via socket |
SHMEM | IO | static | plugin for client server communication via shared memory |
NPIPE | IO | static | plugin for client server communication via named pipe |
AUTH_DIALOG | Authentication | dynamic | Authentication for user input, e.g. for PAM authentication |
AUTH_OLDPASSWORD | Authentication | static | Pre. 4.1 authentication (deprecated) |
AUTH_NATIVE | Authentication | static | Default authentication |
AUTH_CLEARTEXT | dynamic | Cleartext | Sends password without hashing or encryption |
AUTH_GSSAPI | dynamic | Kerberos/GSSAPI authentication plugin |
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.