Skip to main content

New level of functionality and performance in data access via Python

Project description

Python Connector for MySQL

Python Connector for MySQL is a connectivity solution for accessing MySQL databases from Python applications. It fully implements the Python DB API 2.0 specification. The connector is distributed as a wheel package for Windows, macOS, and Linux.

Direct connection

The connector enables you to establish a direct connection to MySQL from a Python application via TCP/IP, eliminating the need for the database client library. A direct connection increases the speed of data transmission between the application and MySQL database server. It also streamlines the deployment process since you don't have to distribute any client libraries with the application.

Secure communication

The connector supports encrypted communications using SSL/TLS, SSH tunneling, and HTTP/HTTPS tunneling.

Using the connector

To retrieve data from a database:

Import the module.

import devart.mysql

Connect to a database using the connect() module method and obtain a connection object.

my_connection = devart.mysql.connect(
    Server="your_server",
    Database="your_database",
    UserId="your_username",
    Password="your_password"
)

Create a cursor object using the cursor() connection method.

my_cursor = my_connection.cursor()

Execute the SQL statement using the execute() cursor method.

my_cursor.execute("SELECT * FROM employees")

Retrieve the result set using one of the fetch*() cursor methods.

for row in my_cursor.fetchall(): 
    print(row)

Ordering and activating the license

You can purchase a license for the connector on the ordering page:
https://www.devart.com/python/mysql/ordering.html

To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/mysql/activate-a-license.htm

What's new

Python Connector for MySQL 1.2

  • Added support for Python 3.13

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

devart_mysql_connector-1.2.0-cp313-cp313-win_amd64.whl (976.3 kB view details)

Uploaded CPython 3.13 Windows x86-64

devart_mysql_connector-1.2.0-cp313-cp313-win32.whl (831.4 kB view details)

Uploaded CPython 3.13 Windows x86

devart_mysql_connector-1.2.0-cp313-cp313-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp313-cp313-macosx_10_13_universal2.whl (3.9 MB view details)

Uploaded CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp312-cp312-win_amd64.whl (976.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

devart_mysql_connector-1.2.0-cp312-cp312-win32.whl (831.4 kB view details)

Uploaded CPython 3.12 Windows x86

devart_mysql_connector-1.2.0-cp312-cp312-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp312-cp312-macosx_10_9_universal2.whl (3.9 MB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp311-cp311-win_amd64.whl (976.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

devart_mysql_connector-1.2.0-cp311-cp311-win32.whl (831.4 kB view details)

Uploaded CPython 3.11 Windows x86

devart_mysql_connector-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp311-cp311-macosx_10_9_universal2.whl (3.9 MB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp310-cp310-win_amd64.whl (975.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

devart_mysql_connector-1.2.0-cp310-cp310-win32.whl (831.4 kB view details)

Uploaded CPython 3.10 Windows x86

devart_mysql_connector-1.2.0-cp310-cp310-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp310-cp310-macosx_10_9_universal2.whl (3.9 MB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp39-cp39-win_amd64.whl (976.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

devart_mysql_connector-1.2.0-cp39-cp39-win32.whl (831.3 kB view details)

Uploaded CPython 3.9 Windows x86

devart_mysql_connector-1.2.0-cp39-cp39-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp39-cp39-macosx_10_9_universal2.whl (3.9 MB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp38-cp38-win_amd64.whl (976.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

devart_mysql_connector-1.2.0-cp38-cp38-win32.whl (831.2 kB view details)

Uploaded CPython 3.8 Windows x86

devart_mysql_connector-1.2.0-cp38-cp38-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp38-cp38-macosx_10_9_universal2.whl (3.9 MB view details)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

devart_mysql_connector-1.2.0-cp37-cp37m-win_amd64.whl (976.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

devart_mysql_connector-1.2.0-cp37-cp37m-win32.whl (831.2 kB view details)

Uploaded CPython 3.7m Windows x86

devart_mysql_connector-1.2.0-cp37-cp37m-manylinux_2_34_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.34+ x86-64

devart_mysql_connector-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file devart_mysql_connector-1.2.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1257697ebc0870a6e9f47405821f4b36ed9a5ac9e2e2059cfd5b11f71d152f33
MD5 fe30c79bc1525dbbd2e444c46719754a
BLAKE2b-256 24064c86592fe925db4b6dfe50630e5441b5af4275386e90a1b1839314197e51

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp313-cp313-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 e13e73a08bd03f0435d9430de9319c0c3e7d45d57d772be9e0b3bf68fa795f4b
MD5 560af15bee483fe65f6e8d4acfe8b0f3
BLAKE2b-256 5c9e23f091361f777c9078ebcc9fbe302bb1388e59c9bf662a094c0301ca3e1f

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 72321f6626c661b4d24ad9e61d12cb8a412cdb2808c4231518a273089b72c3aa
MD5 3909e5ca09266eba62dabe5952cd315b
BLAKE2b-256 6543717677b40dcd1d73bee050ffcc02354cbb54d28df3a369ccacf0deb5b7db

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 e93069e71c04d4dba71edac30018335fa5a8abad88c0f5bc144433c03ec57b91
MD5 7085f8fc2a20fbd23ff71e9852368eb2
BLAKE2b-256 256fa6754d1bc087dd87f3905b0bba32a86570cbe64bcecfe9994d1832031236

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ff4d61755c11b210d30c7ec8753849a0cd31ae8779dc9a54ca4f6207197f6d8d
MD5 63b6abd2841116b65bc3e48f46098f90
BLAKE2b-256 2eb851ebb0617ead939ddeb13e2b56e4c8d718a224100d660022070e79764177

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 9307cd83ad6cc9e46883518f387d1cc8c3bf5a1fa9c459108baa81325be307c7
MD5 b9409489fd382476e5769541f089fc24
BLAKE2b-256 5ad2439794ec372d14e2caf75cadb43dcadac06501bc8d707cd80b16cb388927

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 567c2e864e20c38cd7062f621c3335949de495e23c413b1ba0e32450a6420fe1
MD5 837053a9bf76eeae74db7ab0344a7d8b
BLAKE2b-256 1473cd9fac94fadd977282a95389c1a2ced5aa98ecc5d7217bc9962a518b856e

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 cc952e70fe6808917aab8194c1fd7c81c208a7bac1d2a45da23891a8b9b0ab81
MD5 d65cf140d2000f3a1586c9ad96ddd751
BLAKE2b-256 d66f6eb450b4b6193e7e722287a7dc8de3168e9c4a813bf57c4c83cebd60c1f9

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ebff10c4708fabf3632fa4041abebe7d8e5925049fdeb88ca55ea0bd8cd83ba4
MD5 1b8cd4bd538b1600e46656d658fe2051
BLAKE2b-256 20e880b10f1ab3f4939c48a05a547e21ef3ff1340c6f0f8979baf680821c1414

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 314078577ca5faed92e556a7661d7b147889f8b634e0fb23f687e05133f9256c
MD5 1bebbf5f3183b144821a595334c1c772
BLAKE2b-256 4bbdf6d93a0efa741ad466bfbbe4cb334cc5bfca7d87dbcd1327b60a22768bf5

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ba27f12177b44f7d84db36ea5bdb6871c17a0c266886ee18e4e2f88d46de3830
MD5 21888fa0ef3b0d271d13c0e9f7a744fb
BLAKE2b-256 1e0cba962ade5583f64693ef43a2c944f2b65370d8a8d28cba91649c37de4662

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ddb4d36e46005c8702f18d3cfaa61cfce8e377a88457d97dca9db1d46787722a
MD5 04b7fa425beb7513bcea21287e1f3792
BLAKE2b-256 01bab72bebfc658a1411df862d98874fb983ab91471a08e98a5a83f762a36693

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cea7d7da543600826a751fe3b899c87f5a1a8fd1a93e03d0237c5f3e03e80d7d
MD5 bc84ce578695cdcc9baec736fd205228
BLAKE2b-256 c7b408cc0c53f54234e708c81f16f4cf4be974448a44e273628cacc9c11e32c0

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 ea1deccf4d0760c64f1bdc04ae99a576536b7267665481ac247dbff6a0447a04
MD5 aa0d63202dadfa38baa964fb33a32d5f
BLAKE2b-256 c8f8a1a7c554bc5e7f9adcb526d988d82a483cb04ff6f55ad5ef6e4126676cf0

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0f6508b89d0043bfc0285ce04740a48fb9bcc2a3237b1979b7949d6b5cf94267
MD5 d0b9301ca671031328e0cae9d2f2a572
BLAKE2b-256 4beaeb4d59081ed223eef3cb566da8f7c696eeeb273cd3bdc23214918f40065e

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3be1d4ca6c74062fd9d686d7577f217f19e74fb135b95d0b4da403134f038bf5
MD5 099f8ddb587434b1147c943e88daead9
BLAKE2b-256 d5f4315f83f4a45dfa96c846e61b7b2257cb359bd7069c364f770880ad67dcaf

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c09adc0ffc8324b55c11573b76b2c207a88f50ccf80dbad029d8efa2f50aabb7
MD5 ed9b926b27c71971c0c5e67d958d8153
BLAKE2b-256 dd000924f1ede6e3d88558e856920673ac34d51831431ed3aaa91ad44c67e6c3

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp39-cp39-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 c953b86825dd06c75c18e812437045b07ec85907517442c56a9d80f7f9d9b8ef
MD5 c245f67cf979536a32daf45001e176ce
BLAKE2b-256 8fbbcaae680fff97adde03586a2785e904241070c4243a56d161b013f1524a26

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8eb25969015761cad2413ad31d0ce34c843ea7933ca305c44dfbcc32a3d34e7a
MD5 4fcda75bfa7df8bc3385a8bec02d65c4
BLAKE2b-256 0c3c56ef8bb53de7a95c41cd95b5c3e3331d6feb1a27ac9633958cf986ef385c

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 dd18b5ac112bb2a31385398b494a9259c309400fad71330150818d06645490b7
MD5 31a676ca5e80f05fd0b1b9f4a8c4c6c2
BLAKE2b-256 28b9ac30fcb4e867de4a89dde8203a4cb2067f0d45ea0c4c9df07cdda9281a94

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 318902981827baa576249043e0605fb9f311bc626bc8141d249407e6c73c495b
MD5 7f51b1a07c19497e53e6ab3563c01710
BLAKE2b-256 7d0fe4fd826d213d382bd2c432f769b81b8754f478006893f6d7e658f75db47f

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp38-cp38-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 e214c3b5c788123185f2b84a35f3879ba5786ecd8b0e76430c1b083e34085cab
MD5 b203536593d1a0116b7fec19045fc18b
BLAKE2b-256 51e7d684d3cbca023ccdf3b6b0484f4a952504a5a50ab718f055cc035037b20d

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp38-cp38-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 aea33ae9599a8c3943a7a6116abff8d14cfdfdebb6cc06fbeffa7eb52aa2dd62
MD5 e5a152b81f53892be513804b522d5a5a
BLAKE2b-256 dccedb4eb86a883f9a9fda6839d85bc9636d3289b67782881479800c1fe7f119

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 113139c3411950f542c83723b481cfcada25c54d8ce13e8e4542d56b5b617792
MD5 9eabcf9c7d3ee7ea7fb669c7a205af35
BLAKE2b-256 1a15ec642f64d33ba326e79e84c6373936b7a045431d2587b3bd85be180d8e97

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9608010b67cf5a952c20d36a26acc945952a3cd373d510052c13dd5e6c19550c
MD5 a8814b16c39e111b6b3ec4585635509f
BLAKE2b-256 fdb5b0d267556f934d9f60bd0913421708452fa6af7b01b4bb4e6bbb9141b7ae

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 14f92897c2c8b195a161b52fa0cb80b5fd82d636b6ca5582b54a5dc3c25c0896
MD5 6ad88131eeeec1dff45c21c92b6439a7
BLAKE2b-256 e486c0e0b53a798a35c3856832335e274bf007779c59270f42cc9c5fe4aa9888

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp37-cp37m-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6caa003c6bf8a9b2f24dcc437e9bf0d4a73614808a630a0174ad1ca60c31bb54
MD5 dce1357939e4fa18b2e112ba922b5cf1
BLAKE2b-256 c41557afd41ea37cd06b2d6c9d4d0889ae19afb3ac3a69e922083e473358f739

See more details on using hashes here.

File details

Details for the file devart_mysql_connector-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for devart_mysql_connector-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ed3c1d16e0e3d3990b3942ffd65e3725ee0b42d2fc68520651bb9690c7f4b64
MD5 1552770245b1f22b9e353ac8edd9e2fd
BLAKE2b-256 68c2c63c22ea40a706cd12ccce93b4d57a880dd617b2bc35f05e43eb554e75e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page