Home  >  Article  >  Backend Development  >  在Windows下安装MySQL的图形管理工具phpMyAdmin_PHP

在Windows下安装MySQL的图形管理工具phpMyAdmin_PHP

WBOY
WBOYOriginal
2016-06-01 12:25:311222browse

phpmyadminmysql管理工具mysql安装

phpMyAdmin是一个基于Web的MySQL图形管理工具。
本文只讨论如何在Windows NT 4.0或Windows 2000、IIS 4.0、PHP3和MySQL下安装phpMyAdmin。
本文使用phpMyAdmin_2.0.5.tar.gz。
一、软件下载
  您可以从下列站点下载到最新版本:
    http://www.phpwizard.net/phpMyAdmin/
二、软件安装
  1、将下载的软件用WinZIP等.tar.gz解压缩工具解压缩到您想要的目录,注意解开后会自动创建
phpMyAdmin目录,我把该目录用$PHPMYADMIN_HOME标识;
  2、$PHPMYADMIN_HOME目录下有一个文件INSTALL,这个文件可以告诉您如何安装phpMyAdmin;
  3、打开$PHPMYADMIN_HOME目录下的config.inc.php3,修改该文件中的下列变量:
     $cfgServers[1]['host'] = 'localhost';
     $cfgServers[1]['port'] = ';
     $cfgServers[1]['adv_auth'] = false;
     $cfgServers[1]['stduser'] = 'root';
     $cfgServers[1]['stdpass'] = '';
     $cfgServers[1]['user'] = 'root';
     $cfgServers[1]['password'] = '';
     $cfgServers[1]['only_db'] = ';
     $cfgServers[1]['verbose'] = ';
  4、注意要把c:\winnt\php3.ini(或c:\winnt40\php3.ini)文件中的magic_quotes_gpc
设为On;
  5、注意用设置好$PHPMYADMIN_HOME目录的安全性,只有管理员才可以完全控制该目录,其它人
没有访问权限;
  6、打开Internet Service Manager,选择相应的Web Site,增加一个虚拟目录,目录指向
$PHPMYADMIN_HOME,在该虚拟目录的属性页上,选择Documents,将index.php3设置为缺省文档,
选择Directory Security,只允许基本验证和NT挑战/反应验证;

附:
  phpMyAdmin下载网址
    http://www.phpwizard.net/phpMyAdmin/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn