TypeDB Community Edition
Preliminaries
Connecting to TypeDB CE requires:
-
The
address
andport
of the server - defaults are127.0.0.1
and1729
-
A valid
username
andpassword
- default credentials areadmin
andpassword
Connecting your client
-
Console
-
Studio
Run Console using the --core
argument:
typedb console --core=<server-address> --username=<username> --password
You will be prompted for a password.
The --core
argument is used to set the TypeDB Community Edition server IP address and port to connect to, for example, 10.0.0.5:1729
.
Run Studio and follow instructions below:
-
Click Connect to TypeDB on the right side of the top toolbar.
-
Make sure the
TypeDB Core
option is selected in theServer
field. -
Enter the address and port of the server to connect to (e.g.
localhost:1729
). -
Fill in the
Username
andPassword
fields with valid user credentials. -
Click Connect.
Connecting your application
For programmatic access, use one of the TypeDB drivers via the network API:
-
Rust
-
Python
-
Java
-
Node.js
-
C#
-
C++
-
C
let uri = format!("{}:{}", address, port);
let driver = TypeDBDriver::new_core(
&uri,
Credentials::new(username, password),
DriverOptions::new(false, None).unwrap(),
).await;
uri = f"{address}:{port}"
driver = TypeDB.core_driver(uri, Credentials(username, password), DriverOptions(False, None))
uri = String.format("%s:%s", address, port)
Driver driver = TypeDB.coreDriver(
uri,
new Credentials(username, password),
new DriverOptions(false, null)
);
Coming soon. |
Coming soon. |
Coming soon. |
Coming soon. |