This Vert.x client uses the Mauricio Linhares driver to support a fully async client for MySQL and PostgreSQL.
Please see the in source asciidoc documentation or the main documentation on the web-site for a full description:
-
A working PostgreSQL or MySQL server
-
For testing PostgreSQL: A
testdb
database on a local PostgreSQL install and a user calledvertx
with passwordpassword
-
For testing MySQL: A
testdb
database on a local MySQL install and a user calledvertx
with passwordpassword
Setting up test databases with Docker:
docker run --rm --name vertx-postgres -e POSTGRES_USER=vertx -e POSTGRES_PASSWORD=password -e POSTGRES_DB=testdb -p 5432:5432 postgres
docker run --rm --name vertx-mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_USER=vertx -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=testdb -p 3306:3306 mysql/mysql-server:5.6