How to connect to mysql

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
railmeat
TestLink user
Posts: 3
Joined: Fri Oct 29, 2010 7:28 pm

How to connect to mysql

Post by railmeat »

Hello,

I did a new install of testlink 1.8.4 on a CentOS 5.5. The Configuration page reports, in part: "Checking MySQL Database Failed! MySQL Database cannot be used."

I don't see how to proceed. I have tried searching google and read the install documents, but do not see what to do next.

Does anyone have any suggestions?
railmeat
TestLink user
Posts: 3
Joined: Fri Oct 29, 2010 7:28 pm

Re: How to connect to mysql

Post by railmeat »

To answer my own question, so I can find it latter if I need it.

mysql was not accessible because the library was not installed. I needed:
sudo yum install php53-mysql

and to change the owner of /var/www/testlink/ to the user running the web server (sudo chown apache:apache)

I also needed to install the gd library:
sudo yum install php53-gd
Post Reply