修改数据库密码后还需修改以下文件中的密码
D:\ZenTao\xampp\phpmyadmin\config.inc.php
<?php
$cfg['Servers'][1]['auth_type'] = 'config';
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = ' root';
$cfg['Servers'][1]['port'] = '3306';
$cfg['Servers'][1]['host'] = 'localhost';
$cfg['Servers'][1]['connect_type'] = 'tcp';
$cfg['Servers'][1]['extension'] = 'mysqli';
$cfg['Servers'][1]['AllowNoPassword'] = true;
<?php
$cfg['Servers'][1]['auth_type'] = 'config';
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = ' root';
$cfg['Servers'][1]['port'] = '3306';
$cfg['Servers'][1]['host'] = 'localhost';
$cfg['Servers'][1]['connect_type'] = 'tcp';
$cfg['Servers'][1]['extension'] = 'mysqli';
$cfg['Servers'][1]['AllowNoPassword'] = true;
D:\ZenTao\xampp\zentao\config\my.php
<?php
$config->installed = true;
$config->debug = false;
$config->requestType = 'PATH_INFO';
$config->db->host = '127.0.0.1';
$config->db->port = '3306';
$config->db->name = 'zentao';
$config->db->user = 'root';
$config->db->password = ' root';
$config->db->prefix = 'zt_';
$config->webRoot = getWebRoot();
$config->default->lang = 'zh-cn';
$config->installed = true;
$config->debug = false;
$config->requestType = 'PATH_INFO';
$config->db->host = '127.0.0.1';
$config->db->port = '3306';
$config->db->name = 'zentao';
$config->db->user = 'root';
$config->db->password = ' root';
$config->db->prefix = 'zt_';
$config->webRoot = getWebRoot();
$config->default->lang = 'zh-cn';
局域网内其他PC不能访问‘管理数据库’
D:\ZenTao\xampp\apache\conf\httpd.conf
Alias /phpmyadmin "D:/ZenTao/xampp/phpmyadmin/"
<Directory "D:/ZenTao/xampp/phpmyadmin">
AllowOverride AuthConfig
Require all granted
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
改为
Alias /phpmyadmin "D:/ZenTao/xampp/phpmyadmin/"
<Directory "D:/ZenTao/xampp/phpmyadmin">
AllowOverride AuthConfig
Require all granted
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
改为
Alias /phpmyadmin "D:/ZenTao/xampp/phpmyadmin/"
<Directory "D:/ZenTao/xampp/phpmyadmin">
AllowOverride AuthConfig
Require all granted
Order deny,allow
Allow from all
</Directory>
<Directory "D:/ZenTao/xampp/phpmyadmin">
AllowOverride AuthConfig
Require all granted
Order deny,allow
Allow from all
</Directory>
局域网内其他PC不能访问禅道:
设置禅道服务器的防火墙,开放对应web端口;或者直接关闭防火墙