=== PostgreSQL Connection Test ===
โ
PostgreSQL extension is loaded
Attempting to connect to PostgreSQL server...
Host: 192.168.149.42:5432
Database: testdb
User: dbadmin
โ
Successfully connected to PostgreSQL!
Testing connection with a simple query...
โ
Connection test successful!
PostgreSQL Version: PostgreSQL 15.13 (Debian 15.13-0+deb12u1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14+deb12u1) 12.2.0, 64-bit
Current Database: testdb
Current User: dbadmin
Querying example table...
array(1) {
[0]=>
array(3) {
["id"]=>
string(1) "1"
["name"]=>
string(9) "something"
["age"]=>
string(2) "51"
}
}
๐ Connection Information:
- Host: 192.168.149.42
- Port: 5432
- Database: testdb
- Connection Status: OK
- Transaction Status: 0
- Protocol Version: 3
- Server Version: 15.13 (Debian 15.13-0+deb12u1)
๐งช Running comprehensive database tests...
โ
Can query information_schema (found 1 tables)
โ
Database permissions - Connect: Yes, Create: Yes
โ
Transaction support working
๐ All tests passed!
Connection closed successfully.
=== Connection test completed ===