***** *(4)*设置phpMyadmin 2.2.6 *****最新版的phpMyadmin比以前的几版又强大了很多!推荐大家使用!首选修改: $cfgPmaAbsoluteUri = ''; 改成你的phpmyadmin所在的目录 $cfgPmaAbsoluteUri = 'http://localhost/myadmin/'; 需要修改一下目录下的config.inc.php文件,把174行的: $cfgDefaultLang = 'en'; 改为 $cfgDefaultLang = 'zh';这样就成中文版的了!虽然意思有点别扭……呵呵~!还有这里: $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服务器的设置,按上面改,缺啥补啥,这样就是使用MYSQL的缺省配置啦~呵呵:)
phpmyadmin就是用php写的管理mysql的工具,只要配置一下就可以了。
<?php phpinfo();?>测试好使,
phpmyadmin怎样配置?
*(4)*设置phpMyadmin 2.2.6
*****最新版的phpMyadmin比以前的几版又强大了很多!推荐大家使用!首选修改:
$cfgPmaAbsoluteUri = '';
改成你的phpmyadmin所在的目录
$cfgPmaAbsoluteUri = 'http://localhost/myadmin/';
需要修改一下目录下的config.inc.php文件,把174行的:
$cfgDefaultLang = 'en';
改为
$cfgDefaultLang = 'zh';这样就成中文版的了!虽然意思有点别扭……呵呵~!还有这里:
$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服务器的设置,按上面改,缺啥补啥,这样就是使用MYSQL的缺省配置啦~呵呵:)
我下载的是phpMyadmin 2.2.6.ziip文件
用命令行
mysqld-nt --standalone
你先反安装MYSQL 然后 删除windows目录下的my.ini 重启 再装一次看看.
我那时的情况是my.ini是不完整的.删除重装,再运行winmysqladmin设置一下.就好了.