Skip to content

Connect

Terminal window
telnet localhost 54321
Terminal window
# Connect to default port
haru-cli
# Connect to custom port
haru-cli --port 54322
# Connect to remote host
haru-cli --host 192.168.1.100 --port 54321
Welcome to HaruDB v0.0.5 🎉
Type 'exit' to quit.
haruDB>
haruDB> CREATE TABLE users (id, name, email);
Table users created
haruDB> INSERT INTO users VALUES (1, 'Hareesh', 'hareesh@example.com');
1 row inserted
haruDB> SELECT * FROM users;
id | name | email
1 | Hareesh | hareesh@example.com