FastPanel: step 7. Database
In the examples 203.0.113.10 is your server address and my-site.com is your domain. The panel address, login and password are in the VPS activation e-mail.
Create a database
- "Management" → "Databases" → "New database".
- Database name, user (up to 16 characters), password.
- Site: choose yours. Deleting the site deletes the database too.
- Charset: UTF-8. Click "Save".
Connection from the site: host localhost, port 3306, database name, user, password.


phpMyAdmin
The phpMyAdmin icon next to the database in the list. No password needed.
Import and export
- A small database (up to 50 MB) — in phpMyAdmin: "Import" / "Export".
- A large one — via SSH as your user:
mysql -u USER -p DBNAME < dump.sql
mysqldump -u USER -p DBNAME > dump.sqlChange the database user password
"Databases" → user → "Edit". After the change put the new password into the site configuration.
Connecting to the database from another computer (remote access) is enabled by support.
