sqlx/tests/mysql
Thibs c4130d45e3 Add client SSL authentication using key-file for Postgres, MySQL and MariaDB (#1850)
* use native-tls API

* Add client cert and key to MySQL connector

* Add client ssl tests for PostgreSQL

* Add client ssl tests for MariaDB and MySQL

* Adapt GA tests

* Fix RUSTFLAGS to run all tests

* Remove containers to free the DB port before running SSL auth tests

* Fix CI bad naming

* Use docker-compose down to remove also the network

* Fix main rebase

* Stop trying to stop service using docker-compose, simply use docker cmd

* Fix RUSTFLAGS for Postgres

* Name the Docker images for MariaDB and MySQL so we can stop them using their name

* Add the exception for mysql 5.7 not supporting compatible TLS version with RusTLS

* Rebase fixes

* Set correctly tls struct (fix merge)

* Handle Elliptic Curve variant for private key

* Fix tests suite

* Fix features in CI

* Add tests for Postgres 15 + rebase

* Python tests: fix exception for MySQL 5.7 + remove unneeded for loops

* CI: run SSL tests only when building with TLS support

---------

Co-authored-by: Barry Simons <linuxuser586@gmail.com>
2023-02-21 13:25:25 -08:00
..
fixtures feat: implement testing utilities (#2001) 2022-08-02 14:38:12 -07:00
migrations feat: implement testing utilities (#2001) 2022-08-02 14:38:12 -07:00
migrations_reversible fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
migrations_simple fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
describe.rs test(mysql): remove failing part of boolean describe test - not easily possible to fix in 0.4 2020-07-27 01:11:11 -07:00
Dockerfile Add client SSL authentication using key-file for Postgres, MySQL and MariaDB (#1850) 2023-02-21 13:25:25 -08:00
error.rs feat: better database errors (#2109) 2023-02-21 13:25:25 -08:00
macros.rs Allow using complex types in try_from when deriving FromRow (#2115) 2023-02-21 13:25:25 -08:00
migrate.rs fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
my.cnf Add client SSL authentication using key-file for Postgres, MySQL and MariaDB (#1850) 2023-02-21 13:25:25 -08:00
mysql.rs Break drivers out into separate crates, clean up some technical debt (#2039) 2023-02-21 13:25:25 -08:00
setup.sql feat: better database errors (#2109) 2023-02-21 13:25:25 -08:00
test-attr.rs Break drivers out into separate crates, clean up some technical debt (#2039) 2023-02-21 13:25:25 -08:00
types.rs Update uuid crate to v1 (#1821) 2022-04-20 12:48:29 -07:00