While Testlink installation you get above error :
Note: I have created the user “testlink” and password “testlink”, you may have created something different, so the config_db.inc.php file should have parameters as mentioned by automated installation.
Solution is to create the file config_db.inc.php with parameters pointing mysql username/password.
1
# vi config_db.inc.php
or set read/write permission to Testlink folder and try the GUI installation once again
# cd ..
# chmod 777 testlink_install_dir -R
或者在 testlink_install_dir 目录下 手动建立一个config_db.inc.php文件,内容是
// Automatically Generated by TestLink Installer - Fri, 21 Jul 17 14:30:11 +0000
define('DB_TYPE', 'mysql');
define('DB_USER', 'testlink_user');
define('DB_PASS', 'aerohive');
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'testlink');
define('DB_TABLE_PREFIX', '');
chmod 777 config_db.inc.php