File: common.h

package info (click to toggle)
mariadb-connector-python 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 812 kB
  • sloc: python: 6,099; ansic: 4,896; sh: 23; makefile: 14
file content (76 lines) | stat: -rw-r--r-- 3,462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#define __connect__doc__ \
"connect(*args, **kwargs)\n"\
"--\n"\
"\n"\
"Establishes a connection to a database server and returns a connection\n"\
"object.\n\n"\
"Connection parameters are provided as a set of keyword arguments:\n"\
"----------------------\n"\
"host: string\n"\
"    The host name or IP address of the database server\n\n"\
"user: string\n"\
"username: string\n"\
"    The username used to authenticate with the database server\n\n"\
"password: string\n"\
"passwd: string\n"\
"    The password of the given user\n\n"\
"database: string\n"\
"db: string\n"\
"    database (schema) name to use when connecting with the database\n"\
"    server\n\n"\
"unix_socket: string\n"\
"    The location of the unix socket file to use instead of using an IP port\n"\
"    to connect. If socket authentication is enabled, this can also be used\n"\
"    in place of a password.\n\n"\
"port: integer\n"\
"    port number of the database server. If not specified the default\n"\
"    value of 3306 will be used.\n\n"\
"connect_timeout: integer\n"\
"    connect timeout in seconds\n\n"\
"read_timeout: integer\n"\
"    read timeout in seconds\n\n"\
"write_timeout: integer\n"\
"    write timeout in seconds\n\n"\
"local_infile: boolean\n"\
"    Enables or disables the use of LOAD DATA LOCAL INFILE statements.\n\n"\
"compress: boolean\n"\
"    Uses the compressed protocol for client server communication. If the\n"\
"    server doesn't support compressed protocol, the default protocol will\n"\
"    be used\n\n"\
"init_command: string\n"\
"    Command(s) which will be executed when connecting and reconnecting to\n"\
"    the database server\n\n"\
"default_file: string\n"\
"    Read options from the specified option file. If the file is an empty\n"\
"    string, default configuration file(s) will be used\n\n"\
"default_group: string\n"\
"    Read options from the specified group\n\n"\
"ssl_key: string\n"\
"    Defines a path to a private key file to use for TLS. This option\n"\
"    requires that you use the absolute path, not a relative path. The\n"\
"    specified key must be in PEM format\n\n"\
"ssl_cert: string\n"\
"    Defines a path to the X509 certificate file to use for TLS.\n"\
"    This option requires that you use the absolute path, not a relative\n"\
"    path. The X609 certificate must be in PEM format.\n\n"\
"ssl_ca: string\n"\
"    Defines a path to a PEM file that should contain one or more X509\n"\
"    certificates for trusted Certificate Authorities (CAs) to use for TLS.\n"\
"    This option requires that you use the absolute path, not a relative\n"\
"    path.\n\n"\
"ssl_capath: string\n"\
"    Defines a path to a directory that contains one or more PEM files that\n"\
"    contains one X509 certificate for a trusted Certificate Authority (CA)\n\n"\
"ssl_cipher: string\n"\
"    Defines a list of permitted cipher suites to use for TLS\n\n"\
"ssl_crlpath: string\n"\
"    Defines a path to a PEM file that should contain one or more revoked\n"\
"    X509 certificates to use for TLS. This option requires that you use\n"\
"    the absolute path, not a relative path.\n\n"\
"ssl_verify_cert: boolean\n"\
"    Enables server certificate verification.\n\n"\
"ssl: Boolean\n"\
"    The connection must use TLS security or it will fail.\n\n"\
"autocommit: Boolean or None\n"\
"    Specifies the autocommit settings: None will use the server default,"\
"    True will enable autocommit, False will disable it (default).\n\n"