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_BUILD_TYPEBuild type: Release, RelWithDebInfo or Debug
CMAKE_INSTALL_PREFIXInstallation base directory
CMAKE_C_FLAGSFlags for C-Compiler

TLS/SSL options

OptionDefaultDescription
WITH_OPENSSLONPossible values are ON or OFF. Not supported anymore since Connector/C 3.0
WITH_SSLSCHANNEL (windows), otherwise OPENSSLSpecifies 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:

PluginTypeDefaultDescription
SOCKETIOstaticplugin for client server communication via socket
SHMEMIOstaticplugin for client server communication via shared memory
NPIPEIOstaticplugin for client server communication via named pipe
AUTH_DIALOGAuthenticationdynamicAuthentication for user input, e.g. for PAM authentication
AUTH_OLDPASSWORDAuthenticationstaticPre. 4.1 authentication (deprecated)
AUTH_NATIVEAuthenticationstaticDefault authentication
AUTH_CLEARTEXTdynamicCleartextSends password without hashing or encryption
AUTH_GSSAPIdynamicKerberos/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.