Opens a database.
CONNECT <database-url> <user> <password>
<database-url>Defines the URL of the database you want to connect to. It uses the format
<mode>Defines the mode you want to use in connecting to the database. It can be
<path>Defines the path to the database.
<user>Defines the user you want to connect to the database with.
<password>Defines the password needed to connect to the database, with the defined user.
Connect to a local database as the user
admin, loading it directly into the console:
connect plocal:../databases/GratefulDeadConcerts admin my_admin_passwordConnecting to database [plocal:../databases/GratefulDeadConcerts]...OK
Connect to a remote database:
connect remote:192.168.1.1/GratefulDeadConcerts admin my_admin_passwordConnecting to database [remote:192.168.1.1/GratefulDeadConcerts]...OK
For more information on other commands, see Console Commands.