Metadata-Version: 2.4
Name: ontologiq-mysql
Version: 0.1.0
Summary: MySQL / MariaDB adapter for Ontologiq
Project-URL: Repository, https://github.com/ontologiq/ontologiq
License-Expression: Apache-2.0
Requires-Python: >=3.11
Requires-Dist: ontologiq>=0.2.0
Requires-Dist: pymysql>=1.1
Description-Content-Type: text/markdown

# ontologiq-mysql

MySQL / MariaDB adapter for [Ontologiq](https://github.com/ontologiq/ontologiq).

> **Not on PyPI yet** — ships with the next ontologiq release.

```bash
pip install "ontologiq[serve]" ontologiq-mysql
```

```yaml
# ontologiq.yml
adapter: mysql
connection:
  host: db.internal
  database: shop
  user: ontologiq
  password: "{{ env.MYSQL_PASSWORD }}"
```

The `connection` block is handed to PyMySQL as keyword arguments (`port` is
converted to an integer). Credentials never belong in git — interpolate them
with `{{ env.* }}`, which errors on an unset variable.

Documentation: [docs.ontologiq.org/adapters](https://docs.ontologiq.org/adapters/).
