Getting Started¶
This guide gets you from zero to a running ElyraSQL server and your first query in a couple of minutes.
1. Run the server¶
Download the release for your architecture from the releases page, then:
The server creates the database file on first start if it does not exist.
2. Connect¶
ElyraSQL speaks the MySQL protocol, so any MySQL client works:
Open by default
With no credentials configured the server accepts any login (and logs a warning). Set up authentication before exposing it.
3. Run some SQL¶
CREATE TABLE users (
id BIGINT PRIMARY KEY,
name TEXT,
email TEXT,
joined DATE
);
INSERT INTO users VALUES
(1, 'Alice', 'alice@example.com', '2024-01-15'),
(2, 'Bob', 'bob@example.com', '2024-03-02');
CREATE INDEX users_email ON users (email);
SELECT id, name FROM users WHERE email = 'bob@example.com';
4. Try a transaction¶
BEGIN;
UPDATE users SET name = 'Alice B.' WHERE id = 1;
-- other connections still see the old value here
COMMIT;
Next steps¶
- Configuration — flags, environment variables, TLS.
- SQL Reference — everything the query engine supports.
- Deployment — systemd and Docker in production.