Database Configuration
Please provide your database connection details.
💡 Troubleshooting Database Issues
For Shared Hosting (cPanel, Plesk, etc.):
- Create database through hosting control panel
- Create database user and assign to database
- Grant ALL PRIVILEGES to the user
- Database name format: usually "username_dbname"
For VPS/Dedicated Servers:
- Login to MySQL:
mysql -u root -p
- Create database:
CREATE DATABASE elwa_db;
- Create user:
CREATE USER 'elwadb'@'localhost' IDENTIFIED BY 'password';
- Grant permissions:
GRANT ALL PRIVILEGES ON elwa_db.* TO 'elwadb'@'localhost';
- Reload privileges:
FLUSH PRIVILEGES;
Common Issues:
- Access denied: Check username/password and user permissions
- Connection refused: Ensure MySQL service is running
- Host not found: Try "127.0.0.1" instead of "localhost"