phpMyAdmin安装

1、下载phpMyAdmin安装包上传到服务器的项目目录:data1

2、进入phpMyAdmin目录,复制config.sample.inc.php  重命名为 config.inc.php

3、进入 config.inc.php文件 修改配置参数

// $cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['auth_type'] = 'http';

$cfg['Servers'][$i]['user'] = 'root'; //mysql username here

$cfg['Servers'][$i]['password'] = 'root'; //mysql password here

/* Server parameters */

$cfg['Servers'][$i]['host'] = '127.0.0.1';

$cfg['Servers'][$i]['compress'] = false;

$cfg['Servers'][$i]['AllowNoPassword'] = false;

4、Nginx配置端口访问  【phpMyAdmin根目录】 index.php

你可能感兴趣的:(phpMyAdmin安装)