Problem with new installation

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Shani
TestLink user
Posts: 4
Joined: Fri Apr 21, 2006 1:38 am

Problem with new installation

Post by Shani »

Hi,

I have apache2, mysql 4.1, php 4.3 installed.
When trying to install TestLink (new installation), I am getting the following messages:
\"TestLink setup will now attempt to setup the database:

Creating connection to Database Server:\"

In mysql I have defined the TestLink database and a user that can access and update it (with the required privileges).
Any idea what the problem seems to be?

In my SQL logs it doesn\'t look like the test link is trying to do anything...

Thanks,
Shani.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

1. what operating system are you using
2. what test link version

I\'m doing once a week a fresh install on windos xp without problems
Shani
TestLink user
Posts: 4
Joined: Fri Apr 21, 2006 1:38 am

Post by Shani »

Hi,

1. I am using Linux (Debian).
2. TestLink version 1.6.1

Thanks for the quick response.
Thanks,
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Do you set database correct root name/password in installation script? You note that you create special user for this database. This special user could be add in bottom part of the form. Script finds that this user is already created and go ahead.
Shani
TestLink user
Posts: 4
Joined: Fri Apr 21, 2006 1:38 am

Post by Shani »

Hi,

I tried the script with different users, but with no success.
So I tried the manual installation and created all tables and data successfully.
But when trying to login I am getting the error message:
\"Fatal Error. You haven\'t configured TestLink yet.\"

Anything else I need to do to configure it?

Thanks,
Shani.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

It seems that you didn\'t create a file config_db.inc.php in testlink root. This file include database connection data. See manual to more.
Shani
TestLink user
Posts: 4
Joined: Fri Apr 21, 2006 1:38 am

Post by Shani »

Hi,

You are right, I skipped this part from some reason...
Which brings me back to my first problem.
My file looks like that:
\"\"

I am able to connect to the TestLink database with the given user and password when using mysql.
But still, when trying to connect from the browser, I am getting no respond...

Thanks agian,
Shani.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

Ok, back to basic debug.
First thing we need is to know if you can connect to MySQL USING PHP, then please install phpmyadmin and check if you can connect to the
database with the user/password you are configured on TestLink.

After having the result of this test we can continue our debug
Post Reply