[Mail]
phpMyAdmin求教!
我的系统是RH 7.3
Mysql装的有
mysql-server-3.23.49-3
mysql-3.23.49-3
mysql-devel-3.23.49-3
php-mysql-4.1.2-7
mysqlclient9-3.23.22-6
mod_auth_mysql-1.11-1
PHP版本是:
php-4.1.2-7
php-devel-4.1.2-7
php-ldap-4.1.2-7
php-mysql-4.1.2-7
asp2php-0.76.2-1
php-imap-4.1.2-7
现在想装个phpMyAdmin,phpMyadmin装的是phpMyadmin-2.6.2
但是通过浏览器登陆phpMyAdmin的时候报以下错误
Warning: unknown encoding "gb2312" in /var/www/html/test/libraries/string.lib.php on line 41
Fatal error: Failed opening required './libraries/auth/coockie.auth.lib.php' (include_path='.:/usr/share/pear') in /var/www/html/test/libraries/common.lib.php on line 1220
woyi 我已经设置了config.inc.php
$cfg['PmaAbsoluteUri'] = '';
/**
* Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
* You should use this if and ONLY if the PmaAbsoluteUri auto-detection
* works perfectly.
*/
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
/**
* Disable the default warning that is displayed on the DB Details Structure page if
* any of the required Tables for the relationfeatures could not be found
*/
$cfg['PmaNoRelation_DisableWarning'] = TRUE;
/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* passphrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*/
$cfg['blowfish_secret'] = 'ABCDE';
/**
* Server(s) configuration
*/
$i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >;= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables).
// The controluser is also
// used for all relational
// features (pmadb)
$cfg['Servers'][$i]['auth_type'] = 'coockie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = '123456'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
登陆phpMyadmin的时候还是会报以上的错误
请问有人遇到过这现象吗?