aux_mysql
MySQL Supplementary Extension
openhalo : MySQL Supplementary Extension
Overview
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | mysql |
| See Also | mysql_fdw db_migrator postgres_fdw orafce db2fce tds_fdw db2_fdw |
module_pathname=$libdir/mysm; openHalo 14.x only
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.5 |
18 17 16 15 14 | openhalo |
- |
| RPM | PIGSTY | 1.0 |
18 17 16 15 14 | openhalodb-$v |
- |
| DEB | PIGSTY | 1.0 |
18 17 16 15 14 | openhalodb-$v |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| el8.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| el9.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| el9.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| el10.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| el10.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| d12.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| d12.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| d13.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| d13.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u22.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u22.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u24.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u24.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u26.x86_64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
| u26.aarch64 | N/A | N/A | N/A | N/A | PIGSTY 1.0 |
Source
github.com/HaloTech-Co-Ltd/openHalo
openhalodb-1.0.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The aux_mysql extension is part of the openHalo project, providing MySQL compatibility functions and features for PostgreSQL. It enables PostgreSQL to understand MySQL SQL dialect and communication protocol.
Enabling
Overview
When used with openHalo’s MySQL compatibility mode, this extension allows:
- MySQL client connections via the MySQL wire protocol (port 3306)
- MySQL-compatible SQL syntax parsing
- MySQL-compatible functions and operators
MySQL Compatibility Mode
Configure in postgresql.conf:
After enabling, MySQL clients can connect directly:
Key Features
- MySQL-compatible SQL dialect support
- MySQL wire protocol compatibility (TDS)
- MySQL-style authentication (
mysql_native_password) - Common MySQL functions and operators available in PostgreSQL
Notes
- This extension is designed to work as part of the openHalo distribution
- Standard PostgreSQL connections continue to work alongside MySQL protocol connections
- Not all MySQL features are supported; focuses on commonly used functionality