db.inc.php,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.

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值