Database Connection Test
Test 1: Check if db_config.php exists
✓ db_config.php exists
Test 2: Include db_config.php
✓ db_config.php included successfully
Test 3: Test MySQL Server Connection
✓ MySQL Server is accessible
Test 4: Check if database 'scorecard_db' exists
✓ Database 'scorecard_db' exists
Test 5: Test Database Class
✓ Database class instantiated successfully
✓ Database connection obtained
Test 6: Test ScorecardDB Class
✓ ScorecardDB class instantiated successfully
Summary
If you see errors above, you need to:
- Create the database by running:
mysql -u rizk -p < database.sql
- Or import
database.sql through phpMyAdmin
- Make sure MySQL server is running
- Make sure username and password are correct in db_config.php