把C:\PHP\ext\php_mysql.dll复制到C:\WINNT\system32

解决方案 »

  1.   

    不好意思的是刚才我看错了指导安装文档的一个地方,现在解决了,可以看到phpinfo();中的mysql配置了,但是我仍然不能够使用phpMyAdmin,不知道为什么,提示的错误是:“phpMyAdmin 无法读取您的配置文件!这可能是因为 php 发现了语法错误或 php 未能找到文档。请直接使用下面的链接调用配置文件,然后读取您收到的 php 错误提示。通常的错误都是因为某处漏了引号或分号。如果您看到的是一个空白页,则代表没有任何问题。config.inc.php ”。我的phpMyAdmin中的config_inc.php是这样配置的,不知可否,请指教!
    /* $Id: config.inc.php,v 2.48 2004/12/28 12:48:27 nijel Exp $ */
    // vim: expandtab sw=4 ts=4 sts=4:
    /**
     * phpMyAdmin Configuration File
     *
     * All directives are explained in Documentation.html
     *//**
     * Sets the php error reporting - Please do not change this line!
     */
    if (!isset($old_error_reporting)) {
        error_reporting(E_ALL);
        @ini_set('display_errors', '1');
    }
    $cfg['PmaAbsoluteUri'] = 'http://192.168.1.158/phpMyAdmin/';$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;$cfg['PmaNoRelation_DisableWarning']  = FALSE;$cfg['blowfish_secret'] = 'test';
    /**
     * 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']          = '192.168.1.158'; 
    $cfg['Servers'][$i]['port']          = '';         
    $cfg['Servers'][$i]['socket']        = '';          
    $cfg['Servers'][$i]['connect_type']  = 'tcp';       
    $cfg['Servers'][$i]['extension']     = 'mysql';     
    $cfg['Servers'][$i]['compress']      = FALSE;       
                                                       
    $cfg['Servers'][$i]['controluser']   = '';          
                                                       
    $cfg['Servers'][$i]['controlpass']   = '';        
                                                  
    $cfg['Servers'][$i]['auth_type']     = 'config';    
    $cfg['Servers'][$i]['user']          = 'root';      
    $cfg['Servers'][$i]['password']      = 'root';          
                                                       
    $cfg['Servers'][$i]['only_db']       = '';          
                                                  
    $cfg['Servers'][$i]['verbose']       = '';          
    $cfg['Servers'][$i]['pmadb']         = '';          
                                             
    $cfg['Servers'][$i]['booktable'] = '';          
                                                        
                                                       
    $cfg['Servers'][$i]['relation']      = '';         
                                                        
                                                        
    $cfg['Servers'][$i]['table_info']    = '';         
                                                   
    $cfg['Servers'][$i]['table_coords']  = '';         
                                                      
    $cfg['Servers'][$i]['pdf_pages']     = '';         
                                                     
    $cfg['Servers'][$i]['column_info']   = '';          
                                                   
    $cfg['Servers'][$i]['history']       = '';      
                                                  
    $cfg['Servers'][$i]['verbose_check'] = TRUE;        
                                                      
    $cfg['Servers'][$i]['AllowRoot']     = TRUE;        
    $cfg['Servers'][$i]['AllowDeny']['order']    = '';
    $cfg['Servers'][$i]['AllowDeny']['rules']  = array();
      

  2.   

    而且打开http://192.168.1.158/phpMyAdmin/看到的全是文字,图形都看不到,这是为什么啊?
      

  3.   

    你用mysql\bin 下的mysql 程序连进去了没有???
      

  4.   

    倒是没用mysql\bin下的程序进去过,有什么作用吗?能具体说说这和不能使用phpmyadmin有什么联系吗?mysql加载怎么理解?在管理的服务中能看到mysql已启动,而且通过phpinfo();能看到mysql的记录
    请各位具体说说啊!谢谢了!
      

  5.   

    管理的服务中能看到mysql已启动
    ------
    但这不能说明mysql已经正常了
    会有进程里有mysql但服务并不正常的情况
      

  6.   

    PHP、Apache、MySQL在Windows平台开发时确实有点儿……
      

  7.   

    把QQ号告诉我吧,我发给你一份迄今最为完整详细的配置单。可以100%的保证你成功!
    我的QQ:11013606
      

  8.   

    你的配置文件名是config_inc.php,还是config.inc.php?
      

  9.   

    phpMyAdminq我也沒有配置成功,我的數據庫是mysql5.0,php5.0,總是出現警告,說是找不到什麽路徑什麽文件,
    但用mysql4.0和php4.0就沒有問題。
    鬱悶之下,用了mysqlcc,這才搞定。