Creating a database and users
The admintools utility included in the installation provides a number of administrative functions.
The admintools utility included in the installation provides a number of administrative functions. The following steps show how to create a database and users with this utility.
-
View the status of your cluster. It should return an empty table.
-
Create a database called "vdb" in the home directory with the password "vertica". This command also sets the plaintext password "vertica" for both the database and dbadmin.
-
Run vsql and enter "vertica" at the password prompt.
-
Create a user named "Mike" with the password "inventor."
-
Grant the USAGE permission on the public schema.