🔹 Databases (MySQL)
Databases store your website’s content, user data, and settings. Most CMS platforms like WordPress rely on MySQL databases to function properly.
1️⃣ Creating MySQL Databases
You need a database before installing WordPress or any dynamic website.
Steps in Plesk:
-
Log in to Plesk
-
Go to Websites & Domains
-
Click Databases
-
Click Add Database
-
Enter:
-
Database name
-
Database user
-
Strong password
-
-
Click OK
📌 Save database credentials safely — they are required during installation.
2️⃣ Using phpMyAdmin
phpMyAdmin is a web-based tool to manage MySQL databases.
Common uses:
-
View tables and records
-
Edit data manually
-
Run SQL queries
-
Repair or optimize tables
Accessing phpMyAdmin:
-
Go to Plesk → Databases
-
Click on phpMyAdmin next to your database
📌 Use caution when editing data directly — changes are immediate.
3️⃣ Importing & Exporting Databases
Useful for website migration, backups, or restores.
Export database:
-
Open phpMyAdmin
-
Select database
-
Click Export
-
Choose Quick or Custom
-
Download
.sqlfile
Import database:
-
Open phpMyAdmin
-
Select database
-
Click Import
-
Upload
.sqlfile -
Click Go
📌 Large databases may require SSH or compressed files.
🔐 Database Best Practices
-
Use strong database passwords
-
Avoid using root database access
-
Backup databases regularly
-
Clean unused tables for performance