config.inc.php文件内容: <?php /* $Id: config.inc.php,v 1.9 2001/07/05 21:56:41 swix Exp $ *//* * phpMyAdmin Configuration File * All directives are explained in Documentation.html *//* * Book Table Structure * * CREATE TABLE book ( * id int(11) DEFAULT '0' NOT NULL auto_increment, * dbase varchar(255) NOT NULL, * label varchar(255) NOT NULL, * query text NOT NULL, * PRIMARY KEY (id) * ); * */// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0]. // You can disable a server config entry by setting host to ''. $cfgServers[1]['host'] = 'localhost'; // MySQL hostname $cfgServers[1]['port'] = '3306'; // MySQL port - leave blank for default port $cfgServers[1]['adv_auth'] = false; // Use advanced authentication? $cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth) $cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth) $cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth) $cfgServers[1]['password'] = '您的密码'; // MySQL password (only needed with basic auth) $cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible $cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname $cfgServers[1]['bookdb'] = ''; // Book db - leave blank for no book support $cfgServers[1]['booktable'] = ''; // Book table - leave blank for no book support$cfgServers[2]['host'] = ''; $cfgServers[2]['port'] = ''; $cfgServers[2]['adv_auth'] = false; $cfgServers[2]['stduser'] = ''; $cfgServers[2]['stdpass'] = ''; $cfgServers[2]['user'] = 'root'; $cfgServers[2]['password'] = '您的密码'; $cfgServers[2]['only_db'] = ''; $cfgServers[2]['verbose'] = ''; $cfgServers[2]['bookdb'] = ''; // Book db - leave blank for no book support $cfgServers[2]['booktable'] = ''; // Book table - leave blank for no book support$cfgServers[3]['host'] = ''; $cfgServers[3]['port'] = ''; $cfgServers[3]['adv_auth'] = false; $cfgServers[3]['stduser'] = ''; $cfgServers[3]['stdpass'] = ''; $cfgServers[3]['user'] = 'root'; $cfgServers[3]['password'] = '您的密码''; $cfgServers[3]['only_db'] = ''; $cfgServers[3]['verbose'] = ''; $cfgServers[3]['bookdb'] = ''; // Book db - leave blank for no book support $cfgServers[3]['booktable'] = ''; // Book table - leave blank for no book support// If you have more than one server configured, you can set $cfgServerDefault // to any one of them to autoconnect to that server when phpMyAdmin is started, // or set it to 0 to be given a list of servers without logging in // If you have only one server configured, $cfgServerDefault *MUST* be // set to that server. $cfgServerDefault = 1; // Default server (0 = no default server) $cfgServer = ''; unset($cfgServers[0]);// Be sure to include no trailing slash on the path $cfgManualBase = "http://www.mysql.com/documentation/mysql/bychapter";$cfgConfirm = true; $cfgPersistentConnections = false;$cfgBorder = "0"; $cfgThBgcolor = "#D3DCE3"; $cfgBgcolorOne = "#CCCCCC"; $cfgBgcolorTwo = "#DDDDDD"; $cfgMaxRows = 30; $cfgMaxInputsize = "300px"; $cfgOrder = "ASC"; $cfgShowBlob = true; $cfgShowSQL = true;$cfgModifyDeleteAtLeft = true; $cfgModifyDeleteAtRight = false;$cfgSkipLockedTables = false; // used tables, make possible to show locked tables (since 3.23.30)$cfgDefaultLang = "en"; // default language to use, if not browser-defined or user-defined // $cfgLang = "en"; // force: always use this language - must be defined in select_lang.inc.php require("lang/chinese_gb.inc.php"); // load language file $cfgColumnTypes = array( "TINYINT", "SMALLINT", "MEDIUMINT", "INT", "BIGINT", "FLOAT", "DOUBLE", "DECIMAL", "DATE", "DATETIME", "TIMESTAMP", "TIME", "YEAR", "CHAR", "VARCHAR", "TINYBLOB", "TINYTEXT", "TEXT", "BLOB", "MEDIUMBLOB", "MEDIUMTEXT", "LONGBLOB", "LONGTEXT", "ENUM", "SET");//Some functions discussed on patch #419826 added. - 05/May/2001 - Robbat2 $cfgFunctions = array( "ASCII", "CHAR", "SOUNDEX", "ENCRYPT", "LCASE", "UCASE", "NOW", "PASSWORD", "ENCODE", "DECODE", "MD5", "RAND", "LAST_INSERT_ID", "COUNT", "AVG", "SUM", "CURDATE", "CURTIME", "FROM_DAYS", "FROM_UNIXTIME", "PERIOD_ADD", "PERIOD_DIFF", "TO_DAYS", "USER", "WEEKDAY");$cfgAttributeTypes = array( "", "BINARY", "UNSIGNED", "UNSIGNED ZEROFILL");// Setting magic_quotes_runtime - do not change! set_magic_quotes_runtime(0); ?>
请问能不能说仔细一点,就是说是不是要放在我们的服务器上。
帮助文件在哪儿?如何配置?能不能具体一点点。
<?php
/* $Id: config.inc.php,v 1.9 2001/07/05 21:56:41 swix Exp $ *//*
* phpMyAdmin Configuration File
* All directives are explained in Documentation.html
*//*
* Book Table Structure
*
* CREATE TABLE book (
* id int(11) DEFAULT '0' NOT NULL auto_increment,
* dbase varchar(255) NOT NULL,
* label varchar(255) NOT NULL,
* query text NOT NULL,
* PRIMARY KEY (id)
* );
*
*/// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = '3306'; // MySQL port - leave blank for default port
$cfgServers[1]['adv_auth'] = false; // Use advanced authentication?
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user (only needed with advanced auth)
$cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth)
$cfgServers[1]['user'] = 'root'; // MySQL user (only needed with basic auth)
$cfgServers[1]['password'] = '您的密码'; // MySQL password (only needed with basic auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[1]['bookdb'] = ''; // Book db - leave blank for no book support
$cfgServers[1]['booktable'] = ''; // Book table - leave blank for no book support$cfgServers[2]['host'] = '';
$cfgServers[2]['port'] = '';
$cfgServers[2]['adv_auth'] = false;
$cfgServers[2]['stduser'] = '';
$cfgServers[2]['stdpass'] = '';
$cfgServers[2]['user'] = 'root';
$cfgServers[2]['password'] = '您的密码';
$cfgServers[2]['only_db'] = '';
$cfgServers[2]['verbose'] = '';
$cfgServers[2]['bookdb'] = ''; // Book db - leave blank for no book support
$cfgServers[2]['booktable'] = ''; // Book table - leave blank for no book support$cfgServers[3]['host'] = '';
$cfgServers[3]['port'] = '';
$cfgServers[3]['adv_auth'] = false;
$cfgServers[3]['stduser'] = '';
$cfgServers[3]['stdpass'] = '';
$cfgServers[3]['user'] = 'root';
$cfgServers[3]['password'] = '您的密码'';
$cfgServers[3]['only_db'] = '';
$cfgServers[3]['verbose'] = '';
$cfgServers[3]['bookdb'] = ''; // Book db - leave blank for no book support
$cfgServers[3]['booktable'] = ''; // Book table - leave blank for no book support// If you have more than one server configured, you can set $cfgServerDefault
// to any one of them to autoconnect to that server when phpMyAdmin is started,
// or set it to 0 to be given a list of servers without logging in
// If you have only one server configured, $cfgServerDefault *MUST* be
// set to that server.
$cfgServerDefault = 1; // Default server (0 = no default server)
$cfgServer = '';
unset($cfgServers[0]);// Be sure to include no trailing slash on the path
$cfgManualBase = "http://www.mysql.com/documentation/mysql/bychapter";$cfgConfirm = true;
$cfgPersistentConnections = false;$cfgBorder = "0";
$cfgThBgcolor = "#D3DCE3";
$cfgBgcolorOne = "#CCCCCC";
$cfgBgcolorTwo = "#DDDDDD";
$cfgMaxRows = 30;
$cfgMaxInputsize = "300px";
$cfgOrder = "ASC";
$cfgShowBlob = true;
$cfgShowSQL = true;$cfgModifyDeleteAtLeft = true;
$cfgModifyDeleteAtRight = false;$cfgSkipLockedTables = false; // used tables, make possible to show locked tables (since 3.23.30)$cfgDefaultLang = "en"; // default language to use, if not browser-defined or user-defined
// $cfgLang = "en"; // force: always use this language - must be defined in select_lang.inc.php
require("lang/chinese_gb.inc.php"); // load language file
$cfgColumnTypes = array(
"TINYINT",
"SMALLINT",
"MEDIUMINT",
"INT",
"BIGINT",
"FLOAT",
"DOUBLE",
"DECIMAL",
"DATE",
"DATETIME",
"TIMESTAMP",
"TIME",
"YEAR",
"CHAR",
"VARCHAR",
"TINYBLOB",
"TINYTEXT",
"TEXT",
"BLOB",
"MEDIUMBLOB",
"MEDIUMTEXT",
"LONGBLOB",
"LONGTEXT",
"ENUM",
"SET");//Some functions discussed on patch #419826 added. - 05/May/2001 - Robbat2
$cfgFunctions = array(
"ASCII",
"CHAR",
"SOUNDEX",
"ENCRYPT",
"LCASE",
"UCASE",
"NOW",
"PASSWORD",
"ENCODE",
"DECODE",
"MD5",
"RAND",
"LAST_INSERT_ID",
"COUNT",
"AVG",
"SUM",
"CURDATE",
"CURTIME",
"FROM_DAYS",
"FROM_UNIXTIME",
"PERIOD_ADD",
"PERIOD_DIFF",
"TO_DAYS",
"USER",
"WEEKDAY");$cfgAttributeTypes = array(
"",
"BINARY",
"UNSIGNED",
"UNSIGNED ZEROFILL");// Setting magic_quotes_runtime - do not change!
set_magic_quotes_runtime(0);
?>
他们都是高手,呵呵,向他们学习.
具体方法,见:
http://expert.csdn.net/Expert/topic/1415/1415320.xml?temp=.3020288