I am getting the following error message at Step 2, i think i may have gotten mixed up somewhere down the line as i am using a number of step by step guides to installing
Fatal error: Uncaught exception 'Exception' with message 'Could not create database connection: DBError!:SQLSTATE[08006] [7] FATAL: password authentication failed for user "matrix"' in /var/www/mysource_matrix/core/include/mysource.inc:2288
Stack trace:
#0 /var/www/mysource_matrix/core/include/mysource.inc(211): MySource->changeDatabaseConnection('db')
#1 /var/www/mysource_matrix/core/include/init.inc(231): MySource->init()
#2 /var/www/mysource_matrix/install/step_02.php(57): require_once('/var/www/mysour...')
#3 {main}
thrown in /var/www/mysource_matrix/core/include/mysource.inc on line 2288
Segmentation faultmy db.inc file looks like this....
<?php
$db_conf = array (
'db' => array (
'DSN' => 'pgsql:dbname=mysource_matrix;host=127.0.0.1',
'user' => 'matrix',
'password' => '',
'type' => 'pgsql',
),
'db2' => array (
'DSN' => 'pgsql:dbname=mysource_matrix;host=127.0.0.1',
'user' => 'matrix',
'password' => '',
'type' => 'pgsql',
),
'db3' => array (
'DSN' => 'pgsql:dbname=mysource_matrix;host=127.0.0.1',
'user' => 'matrix_secondary',
'password' => '',
'type' => 'pgsql',
),
'dbcache' => array (
'DSN' => 'pgsql:dbname=mysource_matrixb',
'user' => 'matrix',
'password' => '',
'type' => 'pgsql',
),
);
return $db_conf;
?>and my pg_hba file looks like this...
# Database administrative login by UNIX sockets
local all postgres trust
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
host all all 192.168.0.3 255.255.255.0 trust</pre><br />
I am sure the problem is with one of these files as i have been fiddling with them alot while trying to get step 2 working!
also am i right in saying that if i am using the newest version of Matrix, whatever is in main.inc is irrelevant?
Please help me?! I am pulling my hair out with this one!
