您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
三六零分类信息网 > 南宁分类信息网,免费分类信息发布

如何进行加密访问phpmyadmin

2025/7/30 18:30:22发布7次查看
首先建议大家检查一下自己是否设置了一系列的安全账号,进入linux系统的命令终端,输入:sudo /opt/lampp/lampp security
然后就会出现一些列的账号设置,大家一路设置下去就行,总体设置如下所示:
xampp: quick security check...
xampp: your xampp pages are not secured by a password.
xampp: do you want to set a password? [yes] yes (1)
xampp: password: ******
xampp: password (again): ******
xampp: password protection active. please use 'lampp' as user name!
xampp: mysql is accessable via network.
xampp: normaly that's not recommended. do you want me to turn it off? [yes] yes
xampp: turned off.
xampp: stopping mysql...
xampp: starting mysql...
xampp: the mysql/phpmyadmin user pma has no password set!!!
xampp: do you want to set a password? [yes] yes
xampp: password: ******
xampp: password (again): ******
xampp: setting new mysql pma password.
xampp: setting phpmyadmin's pma password to the new one.
xampp: mysql has no root passwort set!!!
xampp: do you want to set a password? [yes] yes
xampp: write the passworde somewhere down to make sure you won't forget it!!!
xampp: password: ******
xampp: password (again): ******
xampp: setting new mysql root password.
xampp: setting phpmyadmin's root password to the new one.
xampp: the ftp password for user 'nobody' is still set to 'lampp'.
xampp: do you want to change the password? [yes] yes
xampp: password: ******
xampp: password (again): ******
xampp: reload proftpd...
xampp: done.
如果设置完毕之后(最好先重启lampp服务),还是不能通过账号和密码访问phpmyadmin,那么需要修改一个文件。
打开phpmyadmin根目录下的config.inc.php,按照以下行修改就可以了:
把$cfgservers[$i]['auth_type']= 'config';修改成:
$cfgservers[$i]['auth_type']= 'cookie';
保存文件,重新访问phpmyadmin就可以使用账号的密码了。
如下图所示:
推荐学习:phpmyadmin教程
以上就是如何进行加密访问phpmyadmin的详细内容。
南宁分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product