1. phpMyAdmin

1.1. 安装

1.1.1. ubuntu 安装

sudo apt-get update
sudo apt-get install phpmyadmin

选择 apache2

1.1.2. 源码安装

wget https://files.phpmyadmin.net/phpMyAdmin/4.6.5.2/phpMyAdmin-4.6.5.2-all-languages.zip
unzip phpMyAdmin-4.6.5.2-all-languages.zip
cd phpMyAdmin-4.6.5.2-all-languages

1.1.3. Composer 安装

composer create-project phpmyadmin/phpmyadmin --repository-url=https://www.phpmyadmin.net/packages.json --no-dev

1.1.4. docker 方式安装

下载镜像

docker pull phpmyadmin/phpmyadmin

或者

docker pull daocloud.io/daocloud/phpmyadmin

启动

docker run --name myadmin -d -e PMA_HOST=localhost -p 8082:80 phpmyadmin/phpmyadmin

进入

docker exec -it myadmin sh

1.2. 配置

cd phpmyadmin
cp config.sample.inc.php config.inc.php

$cfg['Servers'][$i] 配置 Mysql 地址

$cfg['Servers'][$i]['controlhost'] 配置用于存储高级功能表的数据库地址

results matching ""

    No results matching ""