DB接続エラー:
db_error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => -24
[message] => DB Error: connect failed
[userinfo] => [nativecode=Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?] ** pgsql://postgres:janet@localhost/janet
[backtrace] => Array
(
[0] => Array
(
[file] => /usr/local/lib/php/DB.php
[line] => 888
[function] => pear_error
[class] => db_error
[type] => ->
[args] => Array
(
[0] => DB Error: connect failed
[1] => -24
[2] => 1
[3] => 1024
[4] => [nativecode=Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?]
)
)
[1] => Array
(
[file] => /usr/local/lib/php/PEAR.php
[line] => 569
[function] => db_error
[class] => db_error
[type] => ->
[args] => Array
(
[0] => -24
[1] => 1
[2] => 1024
[3] => [nativecode=Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?]
)
)
[2] => Array
(
[file] => /usr/local/lib/php/DB/common.php
[line] => 1849
[function] => raiseerror
[class] => pear
[type] => ::
[args] => Array
(
[0] =>
[1] => -24
[2] =>
[3] =>
[4] => [nativecode=Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?]
[5] => DB_Error
[6] => 1
)
)
[3] => Array
(
[file] => /usr/local/lib/php/DB/pgsql.php
[line] => 289
[function] => raiseerror
[class] => db_pgsql
[type] => ->
[args] => Array
(
[0] => -24
[1] =>
[2] =>
[3] =>
[4] => Unable to connect to PostgreSQL server: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
)
)
[4] => Array
(
[file] => /usr/local/lib/php/DB.php
[line] => 556
[function] => connect
[class] => db_pgsql
[type] => ->
[args] => Array
(
[0] => Array
(
[phptype] => pgsql
[dbsyntax] => pgsql
[username] => postgres
[password] => janet
[protocol] => tcp
[hostspec] => localhost
[port] =>
[socket] =>
[database] => janet
)
[1] =>
)
)
[5] => Array
(
[file] => /home/sanwa-estate/pm_html/common/init.php
[line] => 56
[function] => connect
[class] => db
[type] => ::
[args] => Array
(
[0] => pgsql://postgres:janet@localhost/janet
)
)
[6] => Array
(
[file] => /home/sanwa-estate/pm_html/preview/room_search.php
[line] => 12
[args] => Array
(
[0] => /home/sanwa-estate/pm_html/common/init.php
)
[function] => require_once
)
[7] => Array
(
[file] => /home/sanwa-estate/pm_html/preview/index.php
[line] => 14
[args] => Array
(
[0] => /home/sanwa-estate/pm_html/preview/room_search.php
)
[function] => include
)
)
[callback] =>
)