pysurrealdb
.
The required arguments to establish a connection are:
host
: the host name of the Surrealdb connectionport
: the port to use when connectinguser
: the user to authenticatepassword
: the password to authenticate the userdatabase
: database name to be connectednamespace
: namespace name to be connectedngrok tunneling
to connect cloud instance to the local SurrealDB server. You can follow this guide for that.
Let’s make the connection with the MindsDB public cloud
host
and port
properties in the PARAMETERS
clause based on the values which you got.
We can also query the dev
table which we created with