Test Management . com Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable to contact database after fresh install

 
Post new topic   Reply to topic    Test Management . com Forum Index -> Installation Issues
View previous topic :: View next topic  
Author Message
jamiegordon



Joined: 17 Mar 2008
Posts: 2

PostPosted: Mon Mar 17, 2008 6:02 pm    Post subject: Unable to contact database after fresh install Reply with quote

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
View user's profile Send private message
jamiegordon



Joined: 17 Mar 2008
Posts: 2

PostPosted: Thu Mar 20, 2008 5:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
cason08



Joined: 02 Jan 2009
Posts: 1

PostPosted: Thu Feb 19, 2009 12:57 pm    Post subject: Hi Reply with quote

I don't think Apache version is bit clear.


-------------------------------------------
Database archiving
Back to top
View user's profile Send private message
allanrayg



Joined: 26 Aug 2008
Posts: 27

PostPosted: Thu Dec 24, 2009 12:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Test Management . com Forum Index -> Installation Issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum