4.2.1.4. Adding a database to Vesta
- Switch to tab "DB" and click on the green button "+":
- Specify the details of the added database and click "Add" ("Add"):
- "Database" ("Database") — specify the name of the database. A prefix with the username of the panel is automatically added to the name.
- "User " ("User") — specify the name of the database user. A prefix with the username of the panel is automatically added to the name. The specified name together with the prefix must not exceed 16 characters.
- "Password" ("Password") — specify the password for the database user. Can be generated automatically by button "generate" ("generate").
- "Type" ("Type") — make sure that is selected
mysql
. - "Server" ("Host") — make sure that is selected
localhost
. - "Encoding" ("Charset") — you can select the desired encoding. Typically, the standard encoding is used
utf8
. - "Send account details to" ("Send login credentials to email address") — you can specify the mail to which the data for connecting to the database will be sent.
Opening a database in phpMyAdmin
To open the created database in phpMyAdmin, on the tab "DB" click "PHPMYADMIN" and provide your database username and password: