MCPcopy Create free account

hub / github.com/mysql/mysql-connector-python / functions

Functions5,006 in github.com/mysql/mysql-connector-python

Methodauth_more_response
Handles server's `auth more data` response. Args: sock: Pointer to the socket connection. auth_data: Authentication m
mysql-connector-python/lib/mysql/connector/aio/plugins/caching_sha2_password.py:110
Methodauth_more_response
Handles server's `auth more data` response. Args: sock: Pointer to the socket connection. auth_data: Authentication m
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:216
Methodauth_more_response
Handles server's `auth more data` response. Args: sock: Pointer to the socket connection. auth_data: Authentication m
mysql-connector-python/lib/mysql/connector/plugins/caching_sha2_password.py:109
Methodauth_name
Returns the authentication name. Returns: str: The authentication name.
mysqlx-connector-python/lib/mysqlx/authentication.py:69
Methodauth_response
Prepare the first message to the server. Args: kwargs: ignore_auth_data (bool): if True, the provided auth data i
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:470
Methodauth_response
Prepare the first message to the server. Args: kwargs: ignore_auth_data (bool): if True, the provided auth data i
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:469
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_native_password.py:94
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_openid_connect_client.py:141
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_webauthn_client.py:246
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_ldap_sasl_client.py:509
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_oci_client.py:201
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/mysql_clear_password.py:78
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/sha256_password.py:82
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/authentication_kerberos_client.py:106
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/aio/plugins/caching_sha2_password.py:133
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/mysql_native_password.py:93
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/authentication_openid_connect_client.py:142
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/authentication_webauthn_client.py:245
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/authentication_ldap_sasl_client.py:509
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/authentication_oci_client.py:201
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/mysql_clear_password.py:77
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/sha256_password.py:81
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/authentication_kerberos_client.py:105
Methodauth_switch_response
Handles server's `auth switch request` response. Args: sock: Pointer to the socket connection. auth_data: Plugin prov
mysql-connector-python/lib/mysql/connector/plugins/caching_sha2_password.py:132
Methodautocommit
Gets whether autocommit is on or off.
mysql-connector-python/lib/mysql/connector/abstracts.py:1213
Methodautocommit
Get whether autocommit is on or off.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:936
Methodautocommit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:496
Methodavailable
Returns if this pool is available for pool connections from it. Returns: bool: True if this pool is available else False.
mysqlx-connector-python/lib/mysqlx/connection.py:1683
Methodbind_address
Return IP address the server is listening on
mysqlx-connector-python/tests/mysqld.py:634
Methodbind_address
Return IP address the server is listening on
mysql-connector-python/tests/mysqld.py:634
Methodbootstrap
(self)
mysqlx-connector-python/tests/mysqld.py:916
Methodbootstrap
(self)
mysql-connector-python/tests/mysqld.py:916
Methodbuild_value
( value: Any, )
mysqlx-connector-python/lib/mysqlx/protocol.py:457
Functionbytes_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:62
Methodcallproc
Calls a stored procedure with the given arguments
mysql-connector-python/lib/mysql/connector/cursor_cext.py:518
Methodcallproc
Calls a stored procedue Not supported with CMySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:1055
Methodcallproc
Calls a stored procedue Not supported with MySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/cursor.py:1137
Methodcallproc
Calls a stored procedure with the given arguments. The arguments will be set during this session, meaning they will be called like _<
mysql-connector-python/lib/mysql/connector/abstracts.py:2575
Methodcallproc
Calls a stored procedure with the given arguments The arguments will be set during this session, meaning they will be called like _<
mysql-connector-python/lib/mysql/connector/aio/cursor.py:498
Methodcallproc
Calls a stored procedue Not supported with MySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1088
Methodcallproc
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:342
Methodcan_consume_results
Returns whether to consume results.
mysql-connector-python/lib/mysql/connector/abstracts.py:539
Methodcan_consume_results
Returns whether to consume results
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:890
Methodcan_introspect_check_constraints
Check if backend support introspection CHECK of constraints.
mysql-connector-python/lib/mysql/connector/django/features.py:43
Methodcan_reset_session
Returns whether to reset session.
mysql-connector-python/lib/mysql/connector/aio/pooling.py:495
Methodcase1
Expecting an InterfaceError.
mysql-connector-python/tests/otel/test_instrumentation.py:750
Methodcase2
Expecting an InterfaceError.
mysql-connector-python/tests/otel/test_instrumentation.py:756
Functioncatch_network_exception
Decorator used to catch OSError or RuntimeError. Raises: :class:`mysqlx.InterfaceError`: If `OSError` or `RuntimeError`
mysqlx-connector-python/lib/mysqlx/connection.py:481
Methodchanged
bool: `True` if this statement has changes.
mysqlx-connector-python/lib/mysqlx/statement.py:198
Methodcharset
Returns the character set for current connection. This property returns the character set name of the current connection. The server
mysql-connector-python/lib/mysql/connector/abstracts.py:1317
Methodcharset
Return the character set for current connection. This property returns the character set name of the current connection. The server i
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1127
Methodcharset_id
The charset ID utilized during the connection phase. If the charset ID hasn't been set, the default charset ID is returned.
mysql-connector-python/lib/mysql/connector/abstracts.py:1329
Methodcharset_id
The charset ID utilized during the connection phase. If the charset ID hasn't been set, the default charset ID is returned.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1137
Methodcheck_args
(self, function, supported_arguments)
mysqlx-connector-python/tests/__init__.py:474
Methodcheck_attr
(self, obj, attrname, default)
mysqlx-connector-python/tests/__init__.py:443
Methodcheck_constraints
Check each table name in `table_names` for rows with invalid foreign key references. This method is intended to be used in conjunctio
mysql-connector-python/lib/mysql/connector/django/base.py:475
Methodcheck_method
(self, obj, method)
mysqlx-connector-python/tests/__init__.py:463
Methodcheck_namedtuple
(self, tocheck, attrs)
mysqlx-connector-python/tests/__init__.py:537
Methodcheck_namedtuple
(self, tocheck, attrs)
mysql-connector-python/tests/__init__.py:754
Methodclear_attributes
Clears the list of query attributes on the connector's side.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2690
Methodclient_a
(lock_a, lock_b, waiting)
mysqlx-connector-python/tests/test_mysqlx_crud.py:484
Methodclient_b
(lock_a, lock_b, waiting)
mysqlx-connector-python/tests/test_mysqlx_crud.py:511
Methodclient_flags
Gets the client flags of the current session.
mysql-connector-python/lib/mysql/connector/abstracts.py:1051
Methodclient_flags
Gets the client flags of the current session.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1397
Methodclose
Empty this ConnectionPool.
mysqlx-connector-python/lib/mysqlx/connection.py:1724
Methodclose
Close the cursor This method will try to deallocate the prepared statement and close the cursor.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:1062
Methodclose
Close the cursor This method will try to deallocate the prepared statement and close the cursor.
mysql-connector-python/lib/mysql/connector/cursor.py:1144
Methodclose
Close the cursor This method will try to deallocate the prepared statement and close the cursor.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1112
Methodclose_cnx_pool
(pool: pooling.MySQLConnectionPool)
mysql-connector-python/tests/test_aio_pooling.py:427
Methodclose_result
Close result. Args: result (:class:`mysqlx.Result`): The result object.
mysqlx-connector-python/lib/mysqlx/connection.py:1318
Methodclose_session
Do not close, but add connection back to pool. The close_session() method does not close the connection with the MySQL server. The co
mysqlx-connector-python/lib/mysqlx/connection.py:1475
Methodcmd_change_user
Changes the current logged in user. It also causes the specified database to become the default (current) database. It is also possib
mysql-connector-python/lib/mysql/connector/abstracts.py:2233
Methodcmd_change_user
Changes the current logged in user. It also causes the specified database to become the default (current) database. It is also possib
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1982
Methodcmd_change_user
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:367
Methodcmd_debug
Send the DEBUG command
mysql-connector-python/lib/mysql/connector/connection_cext.py:1093
Methodcmd_debug
Instructs the server to write debugging information to the error log. The connected user must have the `SUPER` privilege. Returns:
mysql-connector-python/lib/mysql/connector/abstracts.py:2212
Methodcmd_debug
Send the DEBUG command. This method sends the DEBUG command to the MySQL server, which requires the MySQL user to have SUPER privileg
mysql-connector-python/lib/mysql/connector/aio/connection.py:1482
Methodcmd_debug
Send the DEBUG command. This method sends the DEBUG command to the MySQL server, which requires the MySQL user to have SUPER privileg
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1963
Methodcmd_debug
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:417
Methodcmd_init_db
Change the current database
mysql-connector-python/lib/mysql/connector/connection_cext.py:613
Methodcmd_init_db
Changes the current database. This method makes specified database the default (current) database. In subsequent queries, this databa
mysql-connector-python/lib/mysql/connector/abstracts.py:2026
Methodcmd_init_db
Change the current database. This method changes the current (default) database by sending the INIT_DB command. The result is a dicti
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1782
Methodcmd_init_db
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:387
Methodcmd_ping
Send the PING command
mysql-connector-python/lib/mysql/connector/connection_cext.py:1097
Methodcmd_ping
Checks whether the connection to the server is working. This method is not to be used directly. Use `ping()` or `is_connected()` inst
mysql-connector-python/lib/mysql/connector/abstracts.py:2222
Methodcmd_ping
Send the PING command. This method sends the PING command to the MySQL server. It is used to check if the the connection is still val
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1973
Methodcmd_ping
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:422
Methodcmd_process_info
Get the process list of the MySQL Server. This method is a placeholder to notify that the PROCESS_INFO command is not supported by ra
mysql-connector-python/lib/mysql/connector/abstracts.py:2175
Methodcmd_process_kill
Kill a MySQL process
mysql-connector-python/lib/mysql/connector/connection_cext.py:1087
Methodcmd_process_kill
Kills a MySQL process. Asks the server to kill the thread specified by `mysql_pid`. Although still available, it is better to use the
mysql-connector-python/lib/mysql/connector/abstracts.py:2192
Methodcmd_process_kill
Kill a MySQL process. This method send the PROCESS_KILL command to the server along with the process ID. The result is a dictionary w
mysql-connector-python/lib/mysql/connector/aio/connection.py:1472
Methodcmd_process_kill
Kill a MySQL process. This method send the PROCESS_KILL command to the server along with the process ID. The result is a dictionary w
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1955
Methodcmd_process_kill
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:412
Methodcmd_query
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:382
Methodcmd_query_iter
Send one or more statements to the MySQL server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1101
Methodcmd_query_iter
Sends one or more statements to the MySQL server. Similar to the `cmd_query()` method, but instead returns a generator object to iter
mysql-connector-python/lib/mysql/connector/abstracts.py:2081
Methodcmd_query_iter
Send one or more statements to the MySQL server. Similar to the cmd_query method, but instead returns a generator object to iterate t
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1810
Methodcmd_quit
Close the current connection with the server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1043
Methodcmd_quit
Closes the current connection with the server. This method sends the `QUIT` command to the MySQL server, closing the current connecti
mysql-connector-python/lib/mysql/connector/abstracts.py:2144
Methodcmd_quit
Close the current connection with the server. Send the QUIT command to the MySQL server, closing the current connection.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1932
← previousnext →1,901–2,000 of 5,006, ranked by callers