美文网首页
phpMyAdmin最新版安装与配置

phpMyAdmin最新版安装与配置

作者: Jack魏 | 来源:发表于2022-05-15 23:05 被阅读0次

官网地址:phpMyAdmin

1. 下载

phpMyAdmin官网下载地址

2. 安装配置

2.1 解压

下载好,直接解压即可。


image.png

2.2 修改默认配置

libraries文件夹下面,有config.default.php这个文件,就是默认配置文件,需要修改成自己的配置。

image.png
// 1. 配置phpMyAdmin访问网址
$cfg['PmaAbsoluteUri'] = '';

// 2.   MySQL主机地址
$cfg['Servers'][$i]['host'] = 'localhost';

// 3.   MySQL主机端口
$cfg['Servers'][$i]['port'] = '';

// 4.  MySQL 用户名
$cfg['Servers'][$i]['user'] = 'root';

// 5.  MySQL 密码
$cfg['Servers'][$i]['password'] = '';

// 6. 认证方式-默认即可
$cfg['Servers'][$i]['auth_type'] = 'cookie';

// 7. 设置上面为cookie就必须设置下面这个,而且不能为空
$cfg['blowfish_secret'] = '';

这个还需要依赖APMXE(Apahce+PHP+MySQL)
还不如直接上WampServer一步到位。
安装地址:使用WampServer发布简单web应用 - 简书 (jianshu.com)

相关文章

网友评论

      本文标题:phpMyAdmin最新版安装与配置

      本文链接:https://www.haomeiwen.com/subject/huoeurtx.html