aux_mysql
aux_mysql
openhalo : MySQL Supplementary Extension
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9420 | aux_mysql | openhalo | 1.5 | SIM | GPL-3.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
--s-d-- | No | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | mysql |
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 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
el8.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
el9.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
el9.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
el10.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
el10.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
d12.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
d12.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
d13.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
d13.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
u22.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
u22.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
u24.x86_64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
u24.aarch64 | MISS | MISS | MISS | MISS | PIGSTY 1.0 |
Source
pig build pkg openhalo; # build rpm/debInstall
Make sure PGDG and PIGSTY repo available:
pig repo add pgsql -u # add both repo and update cacheInstall this extension with pig:
pig install openhalo; # install via package name, for the active PG version
pig install aux_mysql; # install by extension name, for the current active PG version
pig install aux_mysql -v 14; # install for PG 14Create this extension with:
CREATE EXTENSION aux_mysql;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
CREATE EXTENSION aux_mysql CASCADE;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:
database_compat_mode = 'mysql' -- enable MySQL mode
mysql.listener_on = true -- enable MySQL protocol listener
mysql.port = 3306 -- MySQL protocol portAfter enabling, MySQL clients can connect directly:
mysql -P 3306 -h 127.0.0.1Key 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
Last updated on