Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mysql/mysql-connector-python
/ functions
Functions
5,006 in github.com/mysql/mysql-connector-python
⨍
Functions
5,006
◇
Types & classes
734
↳
Endpoints
17
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_name
Returns the authentication name. Returns: str: The authentication name.
mysqlx-connector-python/lib/mysqlx/authentication.py:69
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
auth_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
Method
autocommit
Gets whether autocommit is on or off.
mysql-connector-python/lib/mysql/connector/abstracts.py:1213
Method
autocommit
Get whether autocommit is on or off.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:936
Method
autocommit
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:496
Method
available
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
Method
bind_address
Return IP address the server is listening on
mysqlx-connector-python/tests/mysqld.py:634
Method
bind_address
Return IP address the server is listening on
mysql-connector-python/tests/mysqld.py:634
Method
bootstrap
(self)
mysqlx-connector-python/tests/mysqld.py:916
Method
bootstrap
(self)
mysql-connector-python/tests/mysqld.py:916
Method
build_value
( value: Any, )
mysqlx-connector-python/lib/mysqlx/protocol.py:457
Function
bytes_from_protobuf
(payload: bytes)
mysqlx-connector-python/lib/mysqlx/result.py:62
Method
callproc
Calls a stored procedure with the given arguments
mysql-connector-python/lib/mysql/connector/cursor_cext.py:518
Method
callproc
Calls a stored procedue Not supported with CMySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/cursor_cext.py:1055
Method
callproc
Calls a stored procedue Not supported with MySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/cursor.py:1137
Method
callproc
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
Method
callproc
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
Method
callproc
Calls a stored procedue Not supported with MySQLCursorPrepared.
mysql-connector-python/lib/mysql/connector/aio/cursor.py:1088
Method
callproc
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:342
Method
can_consume_results
Returns whether to consume results.
mysql-connector-python/lib/mysql/connector/abstracts.py:539
Method
can_consume_results
Returns whether to consume results
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:890
Method
can_introspect_check_constraints
Check if backend support introspection CHECK of constraints.
mysql-connector-python/lib/mysql/connector/django/features.py:43
Method
can_reset_session
Returns whether to reset session.
mysql-connector-python/lib/mysql/connector/aio/pooling.py:495
Method
case1
Expecting an InterfaceError.
mysql-connector-python/tests/otel/test_instrumentation.py:750
Method
case2
Expecting an InterfaceError.
mysql-connector-python/tests/otel/test_instrumentation.py:756
Function
catch_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
Method
changed
bool: `True` if this statement has changes.
mysqlx-connector-python/lib/mysqlx/statement.py:198
Method
charset
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
Method
charset
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
Method
charset_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
Method
charset_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
Method
check_args
(self, function, supported_arguments)
mysqlx-connector-python/tests/__init__.py:474
Method
check_attr
(self, obj, attrname, default)
mysqlx-connector-python/tests/__init__.py:443
Method
check_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
Method
check_method
(self, obj, method)
mysqlx-connector-python/tests/__init__.py:463
Method
check_namedtuple
(self, tocheck, attrs)
mysqlx-connector-python/tests/__init__.py:537
Method
check_namedtuple
(self, tocheck, attrs)
mysql-connector-python/tests/__init__.py:754
Method
clear_attributes
Clears the list of query attributes on the connector's side.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:2690
Method
client_a
(lock_a, lock_b, waiting)
mysqlx-connector-python/tests/test_mysqlx_crud.py:484
Method
client_b
(lock_a, lock_b, waiting)
mysqlx-connector-python/tests/test_mysqlx_crud.py:511
Method
client_flags
Gets the client flags of the current session.
mysql-connector-python/lib/mysql/connector/abstracts.py:1051
Method
client_flags
Gets the client flags of the current session.
mysql-connector-python/lib/mysql/connector/aio/abstracts.py:1397
Method
close
Empty this ConnectionPool.
mysqlx-connector-python/lib/mysqlx/connection.py:1724
Method
close
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
Method
close
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
Method
close
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
Method
close_cnx_pool
(pool: pooling.MySQLConnectionPool)
mysql-connector-python/tests/test_aio_pooling.py:427
Method
close_result
Close result. Args: result (:class:`mysqlx.Result`): The result object.
mysqlx-connector-python/lib/mysqlx/connection.py:1318
Method
close_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
Method
cmd_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
Method
cmd_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
Method
cmd_change_user
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:367
Method
cmd_debug
Send the DEBUG command
mysql-connector-python/lib/mysql/connector/connection_cext.py:1093
Method
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_debug
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:417
Method
cmd_init_db
Change the current database
mysql-connector-python/lib/mysql/connector/connection_cext.py:613
Method
cmd_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
Method
cmd_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
Method
cmd_init_db
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:387
Method
cmd_ping
Send the PING command
mysql-connector-python/lib/mysql/connector/connection_cext.py:1097
Method
cmd_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
Method
cmd_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
Method
cmd_ping
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:422
Method
cmd_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
Method
cmd_process_kill
Kill a MySQL process
mysql-connector-python/lib/mysql/connector/connection_cext.py:1087
Method
cmd_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
Method
cmd_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
Method
cmd_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
Method
cmd_process_kill
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:412
Method
cmd_query
Instrument method.
mysql-connector-python/lib/mysql/connector/opentelemetry/instrumentation.py:382
Method
cmd_query_iter
Send one or more statements to the MySQL server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1101
Method
cmd_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
Method
cmd_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
Method
cmd_quit
Close the current connection with the server
mysql-connector-python/lib/mysql/connector/connection_cext.py:1043
Method
cmd_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
Method
cmd_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
← previous
next →
1,901–2,000 of 5,006, ranked by callers