TestLink couldn’t write config_db.inc.php

来源:互联网 发布:淘宝违规处理怎么处理 编辑:程序博客网 时间:2024/06/05 06:51

TestLink couldn’t write config_db.inc.php


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.

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文件,内容是

<?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 777config_db.inc.php


原创粉丝点击