File: README

package info (click to toggle)
python-pymysql 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: python: 6,396; makefile: 134; sh: 44; sql: 10
file content (12 lines) | stat: -rw-r--r-- 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
To test with a MariaDB or MySQL container image:

docker run -d -p 3306:3306 -e MYSQL_ALLOW_EMPTY_PASSWORD=1 \
  --name=mysqld -v ./ci/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:z \
  mysql:8.0.26 --local-infile=1

cp ci/docker.json pymysql/tests/databases.json

pytest


Note: Some authentication tests that don't match the image version will fail.