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:

  1. Create the database by running: mysql -u rizk -p < database.sql
  2. Or import database.sql through phpMyAdmin
  3. Make sure MySQL server is running
  4. Make sure username and password are correct in db_config.php
Back to Home View Setup Guide