Akiyama_tsuki

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

windows 下安装xampp 相关过程即错误处理。

xampp的安装和相关设置:

参考文献如下:
https://blog.csdn.net/weixin_42449422/article/details/113280976
上述文章讲述了顺利的安装xampp以及一下相关的设置非常有参考价值。

可能出现的错误

1.安装后访问phpMyAdmin时出现如下现象:

解决方法:

第一,找到xampp/phpMyAdmin/config.inc.php文件;
image
第二,打开config.inc.php文件找到:

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

第三,把上面的代码修改成

//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

就能够正常进入了。
参考文章:
https://blog.csdn.net/weixin_44546992/article/details/104914088

2.使用账户登陆phpMyAdmin时出现如下情况:

image
image

解决方法:

与上面相同的找到config.inc.php文件,然后在文件中加入一行

$cfg['Servers'][$i]['port']='你设置的mysql的端口号';

在这里我把端口号设定为了3316,所以有:

/* Authentication type and info */
//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
$cfg['Servers'][$i]['port']='3316';

问题解决。
参考文章:
https://blog.csdn.net/weixin_44340959/article/details/124209912

posted on   Akiyama_tsuki  阅读(63)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示