Lists all currently installed VillageSQL extensions.
INSTALL EXTENSION and UNINSTALL EXTENSION are VillageSQL SQL extensions.
They are not part of standard MySQL 8.4 syntax.
Known columns:
Column
Type
Description
EXTENSION_NAME
varchar
Name of the installed extension
EXTENSION_VERSION
varchar
Version string reported by the extension
Example:
-- Install an extension (VillageSQL-specific syntax)INSTALL EXTENSION vsql_complex;-- List all installed extensionsSELECT * FROM INFORMATION_SCHEMA.EXTENSIONS;-- Check a specific extension's versionSELECT EXTENSION_VERSIONFROM INFORMATION_SCHEMA.EXTENSIONSWHERE EXTENSION_NAME = 'vsql_complex';
Illustrative output (actual version strings depend on installed extensions):
Columns using custom extension types are visible through the standard
INFORMATION_SCHEMA.COLUMNS view. Custom types appear as
extension_name.type_name in the DATA_TYPE and COLUMN_TYPE columns
(e.g., vsql_complex.COMPLEX).Example:
-- Find all columns using custom extension typesSELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, DATA_TYPEFROM INFORMATION_SCHEMA.COLUMNSWHERE DATA_TYPE LIKE '%.%'ORDER BY TABLE_SCHEMA, TABLE_NAME;-- Find columns using a specific extension's typesSELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, DATA_TYPEFROM INFORMATION_SCHEMA.COLUMNSWHERE DATA_TYPE LIKE 'vsql_complex.%';
-- All installed extensionsSELECT EXTENSION_NAME, EXTENSION_VERSIONFROM INFORMATION_SCHEMA.EXTENSIONSORDER BY EXTENSION_NAME;-- All columns using custom types across all extensionsSELECT TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, DATA_TYPEFROM INFORMATION_SCHEMA.COLUMNSWHERE DATA_TYPE LIKE '%.%'ORDER BY DATA_TYPE, TABLE_SCHEMA, TABLE_NAME;
Read-only at runtime. Path to the directory where the server looks for .veb extension bundle files. Set in my.cnf under [mysqld]; cannot be changed without a server restart.
SHOW VARIABLES LIKE 'veb_dir';
Scope: Global, read-only at runtime. Configure in my.cnf:
[mysqld]veb_dir=/path/to/extensions/
Only a single directory is supported. See Managing Extensions for placement and troubleshooting.
Read-only global variable. Returns the VillageSQL version string compiled
into the server binary. This is distinct from villagesql_schema_version,
which tracks the internal metadata catalog version.
SELECT @@villagesql_server_version;-- Example output: 0.0.3-- Show all VillageSQL system variables at onceSHOW VARIABLES LIKE 'villagesql_%';
Scope: Global, read-only. Cannot be set at runtime.