Step 1: Install VillageSQL
Option A: Shell Script (Recommended)
Install VillageSQL using the official installation script:Option B: Build from Source
For development or custom builds, follow the Clone and Build from Source Guide to compile from the latest code.Step 2: Connect to the Server
Once your server is running, you can connect to it using any standard MySQL client.Step 3: Install Your First Extension
You can dynamically load extensions to add new data types and features. Install thevsql_complex extension to add support for complex numbers.
-
Check currently installed extensions:
-
Install the extension:
-
Verify installation:
You should see
vsql_complexlisted.
Step 4: Use Extended Data Types
Now that the extension is active, you can use theCOMPLEX data type in your tables just like native types.

