=== MySQL Connection Test === 1. Testing PDO MySQL extension... ✓ PDO MySQL extension is loaded 2. Testing PDO availability... ✓ PDO extension is loaded Available drivers: mysql ✓ MySQL driver is available 3. Testing MySQL server connection... ✗ Failed to connect to MySQL server: SQLSTATE[HY000] [2002] Connection refused Possible solutions: 1. Check MySQL server is running 2. Verify host, username, and password in config.php 3. Ensure user has proper privileges 4. Check if MySQL is installed (XAMPP/WAMP for Windows) === MySQL Connection Test Completed === 4. PHP Configuration Summary... PHP Version: 8.4.16 Loaded extensions: ✓ pdo ✓ pdo_mysql ✓ mysqli ✗ mysql Next steps: 1. If PDO MySQL is not loaded, edit php.ini and uncomment: extension=pdo_mysql 2. Restart web server/Apache 3. If database doesn't exist, create it and import schema.sql 4. Run the full test: php test_system.php