🌐 Network Connectivity Tests
Testing Host: 127.0.0.1
Attempting: 127.0.0.1:5432
✅ Socket connection successful to 127.0.0.1:5432
Testing database: postgres
✅ Database connection successful to: postgres
✅ Target database "engrprimusapps_quiz" exists!
✅ Successfully connected to target database!
✅ Leaderboard table accessible with 120 records
🎉 WORKING CONFIGURATION FOUND!
Host: 127.0.0.1
Port: 5432
Database: engrprimusapps_quiz
Username: engrprimusapps_devotions_prayers
Testing database: template1
✅ Database connection successful to: template1
✅ Target database "engrprimusapps_quiz" exists!
✅ Successfully connected to target database!
✅ Leaderboard table accessible with 120 records
🎉 WORKING CONFIGURATION FOUND!
Host: 127.0.0.1
Port: 5432
Database: engrprimusapps_quiz
Username: engrprimusapps_devotions_prayers
Testing database: engrprimusapps_devotions_prayers
❌ Database connection failed: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: FATAL: database "engrprimusapps_devotions_prayers" does not exist
Error Code: 7
DSN: pgsql:host=127.0.0.1;port=5432;dbname=engrprimusapps_devotions_prayers
Attempting: 127.0.0.1:5433
❌ Socket connection failed to 127.0.0.1:5433 - Connection refused (Error: 111)
Attempting: 127.0.0.1:5434
❌ Socket connection failed to 127.0.0.1:5434 - Connection refused (Error: 111)
Testing Host: localhost
Attempting: localhost:5432
✅ Socket connection successful to localhost:5432
Testing database: postgres
✅ Database connection successful to: postgres
✅ Target database "engrprimusapps_quiz" exists!
✅ Successfully connected to target database!
✅ Leaderboard table accessible with 120 records
🎉 WORKING CONFIGURATION FOUND!
Host: localhost
Port: 5432
Database: engrprimusapps_quiz
Username: engrprimusapps_devotions_prayers
Testing database: template1
✅ Database connection successful to: template1
✅ Target database "engrprimusapps_quiz" exists!
✅ Successfully connected to target database!
✅ Leaderboard table accessible with 120 records
🎉 WORKING CONFIGURATION FOUND!
Host: localhost
Port: 5432
Database: engrprimusapps_quiz
Username: engrprimusapps_devotions_prayers
Testing database: engrprimusapps_devotions_prayers
❌ Database connection failed: SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: FATAL: database "engrprimusapps_devotions_prayers" does not exist
Error Code: 7
DSN: pgsql:host=localhost;port=5432;dbname=engrprimusapps_devotions_prayers
Attempting: localhost:5433
❌ Socket connection failed to localhost:5433 - Connection refused (Error: 111)
Attempting: localhost:5434
❌ Socket connection failed to localhost:5434 - Connection refused (Error: 111)
Testing Host: ::1
Attempting: ::1:5432
❌ Socket connection failed to ::1:5432 - php_network_getaddresses: getaddrinfo for failed: Name or service not known (Error: 0)
Attempting: ::1:5433
❌ Socket connection failed to ::1:5433 - php_network_getaddresses: getaddrinfo for failed: Name or service not known (Error: 0)
Attempting: ::1:5434
❌ Socket connection failed to ::1:5434 - php_network_getaddresses: getaddrinfo for failed: Name or service not known (Error: 0)