为什么打开config.inc.php为空白页 而不能配置mysql数据为的管理程序phpMyAdmin,请问大侠们这是怎么回事啊?该如何打开此文件? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 phpMyAdmin 只有 config.default.php 没有 config.inc.php 有的在这个目录下E:\李忠双\软件\phpMyAdmin\phpMyAdmin-3.3.5.1-all-languages\setup\frames lz用的是phpmyadmin哪一个版本? phpMyAdmin-3.3.5-rc1-all-languages就如同下面讲的一样:先下载一份最新版的phpMyAdmin MYSQL管理器,点击本站下载phpMyAdmin 解压后得到一个phpMyAdmin的目录(你可以改名) 找到目录里的config.inc.php文件,打开 找到 $cfg['PmaAbsoluteUri'] 修改你将上传到空间的phpMyAdmin的网址 如:$cfg['PmaAbsoluteUri'] = 'http://your.domain.com/phpmyadmin/'; 还有下面的 $cfg['Servers'][$i]['host'] = 'localhost';(通常用默认,也有例外) $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? 在自己的机子里调试用config,如果在网上用cookie。 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user(用户名,自己机里用root,在网上设你的ftp用户名) $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed 自己机里不用设 $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only(你只有一个数据就设置一下) 还有设 $cfg['DefaultLang'] = 'zh'; 设置完毕可以上传到网上了。 浏览http://your.domain.com/phpmyadmin/ 当然你设置不同就用那个网址。 我刚才下载下来phpMyAdmin-3.3.6-rc1-all-languages看了一下根目录下有个config.sample.inc.php文件,你重命名为config.inc.php,然后按照上面的修改就可以了 有些版本是把config.default.php 文件重命名为config.inc.php 你的那个安装说明已经过时了index.php 中有:require_once './libraries/common.inc.php';common.inc.php 中有:require_once './libraries/Config.class.php';Config.class.php 中有:var $default_source = './libraries/config.default.php'; 这个 config.default.php 就是配置文件 isset问题 php 数组合并问题,求大神相助 PHP引用问题 mysql里一字段内容是用,号分隔的。得出多少个,号的sql怎么写? zend编译后乱码问题 对我来说比较复杂的oracle问题 存储过程ORACLE 关于换行和空格 请教CI框架如何制作一篇长文章的分页? 【安装】LAMP MySQL不知到安装到哪里去了。yum install mysql-server 问一个关于fsockopen的问题,请前悲指教 如何在PHP中服务器端生成随机码呢?
有的在这个目录下E:\李忠双\软件\phpMyAdmin\phpMyAdmin-3.3.5.1-all-languages\setup\frames
phpMyAdmin-3.3.5-rc1-all-languages
就如同下面讲的一样:先下载一份最新版的phpMyAdmin MYSQL管理器,点击本站下载phpMyAdmin
解压后得到一个phpMyAdmin的目录(你可以改名)
找到目录里的config.inc.php文件,打开
找到 $cfg['PmaAbsoluteUri']
修改你将上传到空间的phpMyAdmin的网址
如:$cfg['PmaAbsoluteUri'] = 'http://your.domain.com/phpmyadmin/';
还有下面的
$cfg['Servers'][$i]['host'] = 'localhost';(通常用默认,也有例外)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
在自己的机子里调试用config,如果在网上用cookie。
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user(用户名,自己机里用root,在网上设你的ftp用户名)
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
自己机里不用设
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only(你只有一个数据就设置一下)
还有设
$cfg['DefaultLang'] = 'zh';
设置完毕可以上传到网上了。
浏览http://your.domain.com/phpmyadmin/ 当然你设置不同就用那个网址。
require_once './libraries/common.inc.php';common.inc.php 中有:
require_once './libraries/Config.class.php';Config.class.php 中有:
var $default_source = './libraries/config.default.php'; 这个 config.default.php 就是配置文件