Problem with mysqlclient libraries

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Problem with mysqlclient libraries

Postby ayd-dolby » Mon Jan 09, 2006 3:26 pm

I installed testlink last week as a trial for possibly rolling it out in my department. I wish I had made better notes, but the installation seemed somewhat smooth. The only rocky problems I had were as follows.

The machine is running RHES3 which comes preinstalled with mysql.3.x
I needed to upgrade to mysql.4.x and php4.x
I had some problems doing this due to dependencies(arg rpm) but eventually got it all installed. I ran install.php and everything was setup. I logged in and began creating products/test cases/etc. A few people created logins and we verified everything worked correctly.

After the weekend I attempted to login this morning and recieved the following error:
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/testlink/lib/functions/common.php on line 71

I\'ve discovered this is due to not having php-mysql that matches my mysql version installed. I think this package had to be removed to upgrade mysql and PHP to appropriate versions for test link. What I don\'t understand is why Testlink worked all last week without a problem until today.
I attempt to install the appropriate php-mysql rpm but recieve the following error:
error: Failed dependencies:
libmysqlclient.so.10 is needed by php-mysql-4.3.2-8.ent
Suggested resolutions:
mysql-3.23.58-1.i386.rpm

Of course I don\'t want to downgrade mysql. I have the following MySQL and PHP related packages installed:

MySQL-server-standard-4.1.16-1.rhel3
MySQL-devel-standard-4.1.16-1.rhel3
MySQL-client-standard-4.1.16-1.rhel3
MySQL-shared-standard-4.1.16-1.rhel3

php-ldap-4.3.2-8.ent
php-pgsql-4.3.2-8.ent
php-4.3.2-8.ent
php-imap-4.3.2-8.ent


Any ideas? Please reply or email me at ayd@dolby.com

Thanks!
ayd-dolby
TestLink user
 
Posts: 13
Joined: Mon Jan 09, 2006 3:20 pm

Postby ayd-dolby » Mon Jan 09, 2006 4:25 pm

Well I fixed my own problem. I needed mysql-standard-compat, but I couldn\'t find the rpm in my version, so I used the 4.15 version and it seemed to have worked fine. That allowed me to install php-mysql. All working now!
ayd-dolby
TestLink user
 
Posts: 13
Joined: Mon Jan 09, 2006 3:20 pm

Postby havlatm » Tue Jan 10, 2006 8:17 am

Good news. :)

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

Postby ayd-dolby » Tue Jan 10, 2006 2:32 pm

Now that I Have it installed and we\'re using it, is there a way to change the catagories within a test case? Say I wanted to expand it to include preconditions, postconditions and variations, would that be possible? I\'m a bit familiar with PHP, having tried to make something similar before finding testlink, but it looks as though those catagories may be too ingrained into TestLink to change.
ayd-dolby
TestLink user
 
Posts: 13
Joined: Mon Jan 09, 2006 3:20 pm

Use a post in a proper way

Postby fman » Tue Jan 10, 2006 6:45 pm

IMHO you have to close this post and create a new one, because now you
are not asking anymore about a mysql problem.
This way
a) hide info that can be useful to other users
b) don\'t allow others user to help you.
fman
Member of TestLink Community
 
Posts: 3062
Joined: Tue Nov 15, 2005 7:19 am

Postby ayd-dolby » Tue Jan 10, 2006 7:58 pm

You\'re right, I\'m so used to other forum ettiquette

Here are my new topics

http://www.teamst.org/index.php?option= ... &p=154#154
http://www.teamst.org/index.php?option= ... topic&t=48
ayd-dolby
TestLink user
 
Posts: 13
Joined: Mon Jan 09, 2006 3:20 pm


Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 2 guests