Skip to main content
Get a VillageSQL Server instance running, connect to it, and try out the extension system.

Step 1: Install VillageSQL

Install VillageSQL using the official installation script:
This script will download and install the latest VillageSQL binary for your platform.

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 the vsql_complex extension to add support for complex numbers.
  1. Check currently installed extensions:
  2. Install the extension:
  3. Verify installation:
    You should see vsql_complex listed.

Step 4: Use Extended Data Types

Now that the extension is active, you can use the COMPLEX data type in your tables just like native types.

Next Steps

Now that you have VillageSQL running and have verified the extension system, explore more:

Managing Extensions

Learn how to install and manage other extensions.

Create an Extension

Learn how to build your own extensions for VillageSQL.