Installation

The last stable release is available on PyPI and can be installed with pip:

  1. $ python3 -m pip install PyMySQL

To use “sha256_password” or “caching_sha2_password” for authenticate, you need to install additional dependency:

  1. $ python3 -m pip install PyMySQL[rsa]

Requirements

  • Python – one of the following:
  • MySQL Server – one of the following: