简体   繁体   中英

MySql not found in Testlink Installation

Having trouble with the testlink installation. At the beginning of the installation it's giving me a warning saying:

"Failed. MySQL Database cannot be used:" and after I try to install it shows me this "Checking PHP DB extensions Warning.. Your PHP installation don't have the mysql extension mysql- without it is IMPOSSIBLE to use Testlink,Failed,"? I installed Xampp before this, so I should have MySql. right? If it matters, I had to switch the Apache port numbers to 8080.

Image 1:

图片1

Image 2:

图片2 ]

I faced similar issue, tried all given answers on different forums, but nothing worked for me unless I downgraded the version of Xampp to 32 bit installer version 5.6.36 . Link which simply solved the problem.

As per my understanding issue is testlink [mysql] is not compatible with the latest version of PHP . I followed this article to install but here also people faced similar issue as you can see comment section and there is no response from author on same. Rest of the article was very helpful.

I solved this issue configuring the extensions for SQL in file xampp's php.ini

extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll 

DLLs should be in the path of the xampp installation, in my case C:\xampp\php\ext\**

Some versions of PHP are not compatible with MySQL. Try reinstalling PHP using version 5.6

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM