Connecting to a database using the CLI
To connect to a database run the following command in the terminal
alphadb connect
Connecting to a MySQL database requires some information. You will be promted to provide host
, user
, password
, database
and port
.
AlphaDB requires the user to have the following privileges: CREATE
, INSERT
, DELETE
, SELECT
, UPDATE
, ALTER
, DROP
and REFERENCES
.
The database will be saved, so no need to reconnect.