Databases
Databases are the foundation for dynamic websites — WordPress, e-shops, forums, and applications. CoreSynth supports MySQL and PostgreSQL.
Overview
| Feature | Details |
|---|---|
| Types | MySQL, PostgreSQL |
| PhpMyAdmin | For MySQL |
| PhpPgAdmin | For PostgreSQL |
| Remote access | Optional |
| Starter limit | 5 databases |
| Business limit | 20 databases |
| Premium limit | Unlimited |
Creating a Database
Step 1 — New database
- Log in to the control panel
- Go to Databases → Create Database
- Select type: MySQL or PostgreSQL
- Enter database name
- Set password (or let it generate automatically)
- Click Create
Step 2 — Credentials
After creation, you will receive:
| Parameter | Value |
|---|---|
| Host | localhost |
| Database name | [your choice] |
| User | [your choice] |
| Password | [your password] |
Note: Host is always
localhost. Never use external IP or hostname.
Managing Databases
PhpMyAdmin (MySQL)
Access via panel → Databases → PhpMyAdmin.
Features:
- Browse tables
- Run SQL queries
- Export/import data
- User management
PhpPgAdmin (PostgreSQL)
Access via panel → Databases → PhpPgAdmin.
Features:
- Table management
- SQL editor
- Export/import
- Schema management
Changing Password
Warning: After changing password, you must update configuration of all applications using the database (e.g., WordPress config, e-shop).
- Go to Databases → Manage Databases
- Select database → Change Password
- Enter new password
- Save
Remember to update wp-config.php or similar configuration file of your application.
Database Backup
Export via PhpMyAdmin
- Log in to PhpMyAdmin
- Select database in left panel
- Click Export in top menu
- Choose format (recommended: SQL)
- Click Go
Restore from backup
- In PhpMyAdmin select target database
- Click Import
- Select backup file (.sql)
- Click Go
Remote Access
By default, database is accessible only from the webhosting server (localhost).
Enabling remote access
Warning: Remote access may pose a security risk. Enable only for trusted IP addresses.
- Go to Databases → Manage Databases
- Select database → Remote Access
- Add allowed IP addresses
- Save changes
Connection will then be possible from allowed IPs:
<?php
$host = 'localhost';
$dbname = 'your_database';
$user = 'your_username';
$password = 'your_password';
try {
$pdo = new PDO("mysql:host=$host;dbname=$dbname", $user, $password);
echo "Connected successfully";
} catch (PDOException $e) {
echo "Connection error: " . $e->getMessage();
}
?>Connection Limits
| Package | Concurrent connections |
|---|---|
| Starter | 50 |
| Business | 100 |
| Premium | 200 |
Exceeding the limit will cause Too many connections error.
Deleting a Database
Warning: Deleting a database is irreversible. All data will be permanently removed. Create a backup before deleting.
- Go to Databases → Manage Databases
- Select database → Delete
- Confirm deletion
Troubleshooting
Connection error
Cause: Incorrect credentials or host.
Solution:
- Verify host is
localhost - Check database name, user, and password
- Verify application uses correct port (MySQL: 3306, PostgreSQL: 5432)
Too many connections
Cause: Connection limit exceeded.
Solution:
- Wait for active connections to finish
- Optimize application — close connections after use
- Consider upgrading to a higher package
Disk quota exceeded
Cause: Database consumed all allocated storage.
Solution:
- Check disk usage in panel
- Delete unnecessary data or tables
- Optimize database (PhpMyAdmin → Operations → Optimize tables)
Next Steps
- Web Hosting — Full hosting overview
- FTP — File uploads
- Domains — Domain management
- DNS — DNS settings
Need help? Open a support ticket or ask Alex in your dashboard.