| View previous topic :: View next topic |
| Author |
Message |
jamiegordon
Joined: 17 Mar 2008 Posts: 2
|
Posted: Mon Mar 17, 2008 6:02 pm Post subject: Unable to contact database after fresh install |
|
|
I've just done a fresh install. When I browse to index.php, I see the main page, but the contents of the db_params.php are displayed at the top of the window along with "Could not open database connection.
Here is the contents of the db_params.php
==========================
$db_data['tmt'] = array(
'host' => '127.0.0.1',
'db' => 'qatraq',
'user' => 'jamiegordon',
'password' = '<obscured>',
'port' = '3306'
);
$db_data['tmt_reports'] = array(
'host' => '127.0.0.1',
'db' => 'qatraq',
'user' => 'jamiegordon',
'password' = <obscured>',
'port' = '3306'
);
I'm fairly certain that I have the correct database configuration because I can execute the following using the same db/password combination from the file. :
jamiegordon@Barclay - 06:06 PM - ~/domains/jamiegordon/public_html/qatraq: mysql -ujamiegordon -p<obscured> qatraq -e "select * from version"
+--------+
| Number |
+--------+
| 6.9 |
+--------+
My PHP version is:
PHP 5.1.4 (cli) (built: May 28 2006 08:08:49)
My MySQL version is:
mysql Ver 14.7 Distrib 4.1.22, for portbld-freebsd5.5 (i386) using 4.3
Not sure how to proceed from here. Thoughts?
Jamie Gordon |
|
| Back to top |
|
 |
jamiegordon
Joined: 17 Mar 2008 Posts: 2
|
Posted: Thu Mar 20, 2008 5:41 pm Post subject: |
|
|
Apache version of it will help.
Server version: Apache/2.0.59
Server built: Dec 10 2006 01:37:25
Anyone have ideas?
Jamie |
|
| Back to top |
|
 |
cason08
Joined: 02 Jan 2009 Posts: 1
|
Posted: Thu Feb 19, 2009 12:57 pm Post subject: Hi |
|
|
I don't think Apache version is bit clear.
-------------------------------------------
Database archiving |
|
| Back to top |
|
 |
allanrayg
Joined: 26 Aug 2008 Posts: 27
|
Posted: Thu Dec 24, 2009 12:31 am Post subject: |
|
|
By the way, for this error another thing to check with this error is this part: Configure SQL user accounts in the install page.
If you have phpMyAdmin, you can check the Privileges and check if these users are properly created.
Thanks,
Allan
Traq Software, Ltd. |
|
| Back to top |
|
 |
|