配置文件config<?php
/* $Id: config.inc.php,v 1.80 2002/04/17 01:48:32 lem9 Exp $ */$cfgPmaAbsoluteUri = 'http://192.168.0.111/mysqladmins/'; //你的phpMyAdmin 运行的 url
$i = 0;
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfgServers[$i]['host'] = 'localhost'; // MySQL hostname(主机名)
$cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfgServers[$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables)
$cfgServers[$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfgServers[$i]['user'] = 'root';//(用户名) // MySQL user
$cfgServers[$i]['password'] = ''; //(密码) // MySQL password (only needed
// with 'config' auth_type)
$cfgServers[$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed
// at left frame
// It may also be an array
// of db-names
$cfgServers[$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[$i]['bookdb'] = ''; // Book db - leave blank for no book support
$cfgServers[$i]['booktable'] = ''; // Book table - leave blank for no book support
$cfgServers[$i]['relation'] = ''; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
// 如果你有多个MYSQL服务器,可配置以下(配置同上),否则不需要。$i++;
$cfgServers[$i]['host'] = '192.168.0.1';
................
以下一般默认都可以了
------------------------------------------------------------------------------
$cfgServerDefault = 1; // 选择默认服务器(0,为没有默认服务器)/**
* 语言选择
*/
$cfgDefaultLang = 'en';//默认为英文,zh为中文。
// $cfgLang = 'zh';//不出现语言选择项,直接使用此处语言。
// Loads language file
require('./libraries/select_lang.lib.php');
............
?>
/* $Id: config.inc.php,v 1.80 2002/04/17 01:48:32 lem9 Exp $ */$cfgPmaAbsoluteUri = 'http://192.168.0.111/mysqladmins/'; //你的phpMyAdmin 运行的 url
$i = 0;
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfgServers[$i]['host'] = 'localhost'; // MySQL hostname(主机名)
$cfgServers[$i]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfgServers[$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables)
$cfgServers[$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfgServers[$i]['user'] = 'root';//(用户名) // MySQL user
$cfgServers[$i]['password'] = ''; //(密码) // MySQL password (only needed
// with 'config' auth_type)
$cfgServers[$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed
// at left frame
// It may also be an array
// of db-names
$cfgServers[$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[$i]['bookdb'] = ''; // Book db - leave blank for no book support
$cfgServers[$i]['booktable'] = ''; // Book table - leave blank for no book support
$cfgServers[$i]['relation'] = ''; // table to describe the relation between links (see doc)
// - leave blank for no relation-links support
// 如果你有多个MYSQL服务器,可配置以下(配置同上),否则不需要。$i++;
$cfgServers[$i]['host'] = '192.168.0.1';
................
以下一般默认都可以了
------------------------------------------------------------------------------
$cfgServerDefault = 1; // 选择默认服务器(0,为没有默认服务器)/**
* 语言选择
*/
$cfgDefaultLang = 'en';//默认为英文,zh为中文。
// $cfgLang = 'zh';//不出现语言选择项,直接使用此处语言。
// Loads language file
require('./libraries/select_lang.lib.php');
............
?>
还有要真的确认MySQL SERVER在运行