预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共15页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

phpMyAdmin配置文件config.inc.php详解<?php/*$Id:config.inc.php,v1.204.2.12003/10/1014:24:24nijelExp$*///vim:expandtabsw=4ts=4sts=4:/***phpMyAdminConfigurationFile**AlldirectivesareexplainedinDocumentation.html*//***Setsthephperrorreporting-Pleasedonotchangethisline!*/if(!isset($old_error_reporting)){error_reporting(E_ALL);@ini_set('display_errors','1');}/***YourphpMyAdminurl**Completethevariablebelowwiththefullurlie*http://www.your_web.net/path_to_your_phpMyAdmin_directory/**ItmustcontaincharactersthatarevalidforaURL,andthepathis*casesensitiveonsomeWebservers,forexampleUnix-basedservers.**Inmostcasesyoucanleavethisvariableempty,asthecorrectvalue*willbedetectedautomatically.However,werecommendthatyoudo*testtoseethattheauto-detectioncodeworksinyoursystem.Agood*testistobrowseatable,theneditarowandsaveit.Therewillbe*anerrormessageifphpMyAdmincannotauto-detectthecorrectvalue.**Iftheauto-detectioncodedoesworkproperly,youcansettoTRUEthe*$cfg['PmaAbsoluteUri_DisableWarning']variablebelow.*/$cfg['PmaAbsoluteUri']='';-----这里设置你的phpmyadmin的URL,如:http://localhost/phpmyadmin//***Disablethedefaultwarningabout$cfg['PmaAbsoluteUri']notbeingset*YoushouldusethisifandONLYifthePmaAbsoluteUriauto-detection*worksperfectly.*/$cfg['PmaAbsoluteUri_DisableWarning']=FALSE;/***DisablethedefaultwarningthatisdisplayedontheDBDetailsStructurepageif*anyoftherequiredTablesfortherelationfeaturescouldnotbefound*/$cfg['PmaNoRelation_DisableWarning']=FALSE;/***The'cookie'auth_typeusesblowfishalgorithmtoencryptthepassword.If*atleastoneserverconfigurationuses'cookie'auth_type,enterherea*passphrasethatwillbeusedbyblowfish.[color=red]$cfg['blowfish_secret']='';-----设定好root密码后这里也要填写[/color]/***Server(s)configuration*/$i=0;//The$cfg['Servers']arraystartswith$cfg['Servers'][1].Donotuse$cfg['Servers'][0].//Youcandisableaserverconfigentrybysettinghostto''.$i++;[color=red]$cfg['Servers'][$i]['host']='localhost';//MySQLhostnameorIPaddress----这里可以设定远程MySQL服务器IP地址$cfg['Servers'][$i]['port']='';//MySQLport-leaveblankfordefa