CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
山寨机中的战斗机! 程序优化工程师到底对IT界有没有贡献
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  Web 开发 >  PHP

我的phpmyadmin一运行就提示...

楼主alexdream(阿辛)2004-02-01 22:30:27 在 Web 开发 / PHP 提问

PHP   has   encountered   an   Access   Violation   at   010D4F72  
   
  再刷一下就显示  
   
  cannot   load   MySQL   extension,  
  please   check   PHP   Configuration.  
  Documentation    
   
  请问应该怎么样设置,谢谢  
  问题点数:20、回复次数:11Top

1 楼ashchen(老陳)回复于 2004-02-01 22:49:43 得分 5

你的php没有mysql的库?Top

2 楼alexdream(阿辛)回复于 2004-02-01 23:20:04 得分 0

我有呀,而且也亮绿灯了,是不是要设置cinfig.inc.php文件呢?要怎么设置呢?  
  能把你的发给我看看吗Top

3 楼youbest(冲天飞豹)回复于 2004-02-01 23:31:34 得分 5

建议你把PHP重新安装一下,最好安装比较新的版本,应该就可以解决了.Top

4 楼alexdream(阿辛)回复于 2004-02-01 23:36:31 得分 0

我的php是刚刚装的是不是要设置一下php.ini文件关于mysql部分,请问要如何设置,谢谢Top

5 楼lsaturn(土星-站了一晚)回复于 2004-02-01 23:58:39 得分 5

不会啊,你把phpadmin的config文件的密码设置了吧?Top

6 楼alexdream(阿辛)回复于 2004-02-02 00:07:05 得分 0

我的config文件如下,请看有什么问题吗?  
  <?php  
  /*   $Id:   config.inc.php,v   1.204.2.1   2003/10/10   14:24:24   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');  
  }  
   
   
  /**  
    *   Your   phpMyAdmin   url  
    *  
    *   Complete   the   variable   below   with   the   full   url   ie  
    *         http://www.your_web.net/path_to_your_phpMyAdmin_directory/  
    *  
    *   It   must   contain   characters   that   are   valid   for   a   URL,   and   the   path   is  
    *   case   sensitive   on   some   Web   servers,   for   example   Unix-based   servers.  
    *  
    *   In   most   cases   you   can   leave   this   variable   empty,   as   the   correct   value  
    *   will   be   detected   automatically.   However,   we   recommend   that   you   do  
    *   test   to   see   that   the   auto-detection   code   works   in   your   system.   A   good  
    *   test   is   to   browse   a   table,   then   edit   a   row   and   save   it.     There   will   be  
    *   an   error   message   if   phpMyAdmin   cannot   auto-detect   the   correct   value.  
    *  
    *   If   the   auto-detection   code   does   work   properly,   you   can   set   to   TRUE   the  
    *   $cfg['PmaAbsoluteUri_DisableWarning']   variable   below.  
    */  
  $cfg['PmaAbsoluteUri']   =   'http://192.168.0.1/phpmyadmin';  
   
   
  /**  
    *   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']   =   FALSE;  
   
  /**  
    *   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']     =   FALSE;  
   
  /**  
    *   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.  
    */  
  $cfg['blowfish_secret']   =   '';  
   
  /**  
    *   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]['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)  
  $cfg['Servers'][$i]['auth_type']           =   'http';         //   Authentication   method   (config,   http   or   cookie   based)?  
  $cfg['Servers'][$i]['user']                     =   'alex';             //   MySQL   user  
  $cfg['Servers'][$i]['password']             =   '195966';                     //   MySQL   password   (only   needed  
                                                                                                          //   with   'config'   auth_type)  
  $cfg['Servers'][$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  
  $cfg['Servers'][$i]['verbose']               =   '';                     //   Verbose   name   for   this   host   -   leave   blank   to   show   the   hostname  
   
  $cfg['Servers'][$i]['pmadb']                   =   '';                     //   Database   used   for   Relation,   Bookmark   and   PDF   Features  
                                                                                                          //   (see   scripts/create_tables.sql)  
                                                                                                          //       -   leave   blank   for   no   support  
                                                                                                          //           DEFAULT:   'phpmyadmin'  
  $cfg['Servers'][$i]['bookmarktable']   =   '';                     //   Bookmark   table  
                                                                                                          //       -   leave   blank   for   no   bookmark   support  
                                                                                                          //           DEFAULT:   'pma_bookmark'  
  $cfg['Servers'][$i]['relation']             =   '';                     //   table   to   describe   the   relation   between   links   (see   doc)  
                                                                                                          //       -   leave   blank   for   no   relation-links   support  
                                                                                                          //           DEFAULT:   'pma_relation'  
  $cfg['Servers'][$i]['table_info']         =   '';                     //   table   to   describe   the   display   fields  
                                                                                                          //       -   leave   blank   for   no   display   fields   support  
                                                                                                          //           DEFAULT:   'pma_table_info'  
  $cfg['Servers'][$i]['table_coords']     =   '';                     //   table   to   describe   the   tables   position   for   the   PDF   schema  
                                                                                                          //       -   leave   blank   for   no   PDF   schema   support  
                                                                                                          //           DEFAULT:   'pma_table_coords'  
  $cfg['Servers'][$i]['pdf_pages']           =   '';                     //   table   to   describe   pages   of   relationpdf  
                                                                                                          //       -   leave   blank   if   you   don't   want   to   use   this  
                                                                                                          //           DEFAULT:   'pma_pdf_pages'  
  $cfg['Servers'][$i]['column_info']       =   '';                     //   table   to   store   column   information  
                                                                                                          //       -   leave   blank   for   no   column   comments/mime   types  
                                                                                                          //           DEFAULT:   'pma_column_info'  
  $cfg['Servers'][$i]['history']               =   '';                     //   table   to   store   SQL   history  
                                                                                                          //       -   leave   blank   for   no   SQL   query   history  
                                                                                                          //           DEFAULT:   'pma_history'  
  $cfg['Servers'][$i]['verbose_check']   =   TRUE;                 //   set   to   FALSE   if   you   know   that   your   pma_*   tables  
                                                                                                          //   are   up   to   date.   This   prevents   compatibility  
                                                                                                          //   checks   and   thereby   increases   performance.  
  $cfg['Servers'][$i]['AllowDeny']['order']                       //   Host   authentication   order,   leave   blank   to   not   use  
                                                                            =   '';  
  Top

7 楼alexdream(阿辛)回复于 2004-02-02 00:07:37 得分 0

$cfg['Servers'][$i]['AllowDeny']['rules']                       //   Host   authentication   rules,   leave   blank   for   defaults  
                                                                            =   array();  
   
   
  $i++;  
  $cfg['Servers'][$i]['host']                         =   'localhost';  
  $cfg['Servers'][$i]['port']                         =   '';  
  $cfg['Servers'][$i]['socket']                     =   '';  
  $cfg['Servers'][$i]['connect_type']         =   'tcp';  
  $cfg['Servers'][$i]['compress']                 =   FALSE;  
  $cfg['Servers'][$i]['controluser']           =   '';  
  $cfg['Servers'][$i]['controlpass']           =   '';  
  $cfg['Servers'][$i]['auth_type']               =   'http';  
  $cfg['Servers'][$i]['user']                         =   'alex';  
  $cfg['Servers'][$i]['password']                 =   '195966';  
  $cfg['Servers'][$i]['only_db']                   =   '';  
  $cfg['Servers'][$i]['verbose']                   =   '';  
  $cfg['Servers'][$i]['pmadb']                       =   '';   //   'phpmyadmin'   -   see   scripts/create_tables.sql  
  $cfg['Servers'][$i]['bookmarktable']       =   '';   //   'pma_bookmark'  
  $cfg['Servers'][$i]['relation']                 =   '';   //   'pma_relation'  
  $cfg['Servers'][$i]['table_info']             =   '';   //   'pma_table_info'  
  $cfg['Servers'][$i]['table_coords']         =   '';   //   'pma_table_coords'  
  $cfg['Servers'][$i]['pdf_pages']               =   '';   //   'pma_pdf_pages'  
  $cfg['Servers'][$i]['column_info']           =   '';   //   'pma_column_info'  
  $cfg['Servers'][$i]['history']                   =   '';   //   'pma_history'  
  $cfg['Servers'][$i]['verbose_check']       =   TRUE;  
  $cfg['Servers'][$i]['AllowDeny']['order']  
                                                                                =   '';  
  $cfg['Servers'][$i]['AllowDeny']['rules']  
                                                                                =   array();  
   
  $i++;  
  $cfg['Servers'][$i]['host']                         =   'localhost';  
  $cfg['Servers'][$i]['port']                         =   '';  
  $cfg['Servers'][$i]['socket']                     =   '';  
  $cfg['Servers'][$i]['connect_type']         =   'tcp';  
  $cfg['Servers'][$i]['compress']                 =   FALSE;  
  $cfg['Servers'][$i]['controluser']           =   '';  
  $cfg['Servers'][$i]['controlpass']           =   '';  
  $cfg['Servers'][$i]['auth_type']               =   'http';  
  $cfg['Servers'][$i]['user']                         =   'alex';  
  $cfg['Servers'][$i]['password']                 =   '195966';  
  $cfg['Servers'][$i]['only_db']                   =   '';  
  $cfg['Servers'][$i]['verbose']                   =   '';  
  $cfg['Servers'][$i]['pmadb']                       =   '';   //   'phpmyadmin'   -   see   scripts/create_tables.sql  
  $cfg['Servers'][$i]['bookmarktable']       =   '';   //   'pma_bookmark'  
  $cfg['Servers'][$i]['relation']                 =   '';   //   'pma_relation'  
  $cfg['Servers'][$i]['table_info']             =   '';   //   'pma_table_info'  
  $cfg['Servers'][$i]['table_coords']         =   '';   //   'pma_table_coords'  
  $cfg['Servers'][$i]['pdf_pages']               =   '';   //   'pma_pdf_pages'  
  $cfg['Servers'][$i]['column_info']           =   '';   //   'pma_column_info'  
  $cfg['Servers'][$i]['history']                   =   '';   //   'pma_history'  
  $cfg['Servers'][$i]['verbose_check']       =   TRUE;  
  $cfg['Servers'][$i]['AllowDeny']['order']  
                                                                                =   '';  
  $cfg['Servers'][$i]['AllowDeny']['rules']  
                                                                                =   array();  
   
  //   If   you   have   more   than   one   server   configured,   you   can   set   $cfg['ServerDefault']  
  //   to   any   one   of   them   to   autoconnect   to   that   server   when   phpMyAdmin   is   started,  
  //   or   set   it   to   0   to   be   given   a   list   of   servers   without   logging   in  
  //   If   you   have   only   one   server   configured,   $cfg['ServerDefault']   *MUST*   be  
  //   set   to   that   server.  
  $cfg['ServerDefault']   =   1;                             //   Default   server   (0   =   no   default   server)  
  $cfg['Server']                 =   '';  
  unset($cfg['Servers'][0]);  
   
   
  /**  
    *   Other   core   phpMyAdmin   settings  
    */  
  $cfg['OBGzip']                                     =   'auto';   //   use   GZIP   output   buffering   if   possible   (TRUE|FALSE|'auto')  
  $cfg['PersistentConnections']       =   FALSE;     //   use   persistent   connections   to   MySQL   database  
  $cfg['ExecTimeLimit']                       =   300;         //   maximum   execution   time   in   seconds   (0   for   no   limit)  
  $cfg['SkipLockedTables']                 =   FALSE;     //   mark   used   tables,   make   possible   to   show  
                                                                                      //   locked   tables   (since   MySQL   3.23.30)  
  $cfg['ShowSQL']                                   =   TRUE;       //   show   SQL   queries   as   run  
  $cfg['AllowUserDropDatabase']       =   FALSE;     //   show   a   'Drop   database'   link   to   normal   users  
  $cfg['Confirm']                                   =   TRUE;       //   confirm   'DROP   TABLE'   &   'DROP   DATABASE'  
  $cfg['LoginCookieRecall']               =   TRUE;       //   recall   previous   login   in   cookie   auth.   mode   or   not  
  $cfg['UseDbSearch']                           =   TRUE;       //   whether   to   enable   the   "database   search"   feature  
                                                                                      //   or   not  
  $cfg['IgnoreMultiSubmitErrors']   =   FALSE;     //   if   set   to   true,   PMA   continues   computing   multiple-statement   queries  
                                                                                      //   even   if   one   of   the   queries   failed  
  $cfg['VerboseMultiSubmit']             =   TRUE;       //   if   set   to   true,   PMA   will   show   the   affected   rows   of   EACH   statement   on  
                                                                                      //   multiple-statement   queries.   See   the   read_dump.php   file   for   hardcoded  
                                                                                      //   defaults   on   how   many   queries   a   statement   may   contain!  
  $cfg['AllowArbitraryServer']         =   FALSE;     //   allow   login   to   any   user   entered   server   in   cookie   based   auth  
   
  //   Left   frame   setup  
  $cfg['LeftFrameLight']                 =   TRUE;       //   use   a   select-based   menu   and   display   only   the  
                                                                                  //   current   tables   in   the   left   frame.  
  $cfg['LeftFrameTableSeparator']=   '__';     //   Which   string   will   be   used   to   generate   table   prefixes  
                                                                                  //   to   split   tables   into   multiple   categories  
  $cfg['LeftFrameTableLevel']       =   '1';         //   How   many   sublevels   should   be   displayed   when   splitting  
                                                                                  //   up   tables   by   the   above   Separator  
  $cfg['ShowTooltip']                       =   TRUE;       //   display   table   comment   as   tooltip   in   left   frame  
  $cfg['ShowTooltipAliasDB']         =   FALSE;     //   if   ShowToolTip   is   enabled,   this   defines   that   table/db   comments  
  $cfg['ShowTooltipAliasTB']         =   FALSE;     //   are   shown   (in   the   left   menu   and   db_details_structure)   instead   of  
  Top

8 楼alexdream(阿辛)回复于 2004-02-02 00:07:54 得分 0

//   table/db   names  
   
  $cfg['LeftDisplayLogo']               =   TRUE;       //   display   logo   at   top   of   left   frame  
  $cfg['LeftDisplayServers']         =   FALSE;     //   display   server   choice   at   top   of   left   frame  
   
  //   In   the   main   frame,   at   startup...  
  $cfg['ShowStats']                           =   TRUE;       //   allow   to   display   statistics   and   space   usage   in  
                                                                                  //   the   pages   about   database   details   and   table  
                                                                                  //   properties  
  $cfg['ShowMysqlInfo']                   =   FALSE;     //   whether   to   display   the   "MySQL   runtime  
  $cfg['ShowMysqlVars']                   =   FALSE;     //   information",   "MySQL   system   variables",   "PHP  
  $cfg['ShowPhpInfo']                       =   FALSE;     //   information"   and   "change   password"   links   for  
  $cfg['ShowChgPassword']               =   FALSE;     //   simple   users   or   not  
  $cfg['SuggestDBName']                   =   TRUE;       //   suggest   a   new   DB   name   if   possible   (false   =   keep   empty)  
   
  //   In   browse   mode...  
  $cfg['ShowBlob']                             =   FALSE;     //   display   blob   field   contents  
  $cfg['NavigationBarIconic']       =   TRUE;       //   do   not   display   text   inside   navigation   bar   buttons  
  $cfg['ShowAll']                               =   FALSE;     //   allows   to   display   all   the   rows  
  $cfg['MaxRows']                               =   30;           //   maximum   number   of   rows   to   display  
  $cfg['Order']                                   =   'ASC';     //   default   for   'ORDER   BY'   clause   (valid  
                                                                                  //   values   are   'ASC',   'DESC'   or   'SMART'   -ie  
                                                                                  //   descending   order   for   fields   of   type  
                                                                                  //   TIME,   DATE,   DATETIME   &   TIMESTAMP,  
                                                                                  //   ascending   order   else-)  
   
  //   In   edit   mode...  
  $cfg['ProtectBinary']                   =   'blob';   //   disallow   editing   of   binary   fields  
                                                                                  //   valid   values   are:  
                                                                                  //       FALSE     allow   editing  
                                                                                  //       'blob'   allow   editing   except   for   BLOB   fields  
                                                                                  //       'all'     disallow   editing  
  $cfg['ShowFunctionFields']         =   TRUE;       //   Display   the   function   fields   in   edit/insert   mode  
  $cfg['CharEditing']                       =   'input';  
                                                                                  //   Which   editor   should   be   used   for   CHAR/VARCHAR   fields:  
                                                                                  //     input   -   allows   limiting   of   input   length  
                                                                                  //     textarea   -   allows   newlines   in   fields  
   
  //   For   the   export   features...  
  $cfg['ZipDump']                               =   TRUE;       //   Allow   the   use   of   zip/gzip/bzip  
  $cfg['GZipDump']                             =   TRUE;       //   compression   for  
  $cfg['BZipDump']                             =   TRUE;       //   dump   files  
  $cfg['CompressOnFly']                   =   TRUE;       //   Will   compress   gzip/bzip2   exports   on  
                                                                                  //   fly   without   need   for   much   memory.  
                                                                                  //   If   you   encounter   problems   with  
                                                                                  //   created   gzip/bzip2   files   disable  
                                                                                  //   this   feature.  
   
  //   Tabs   display   settings  
  $cfg['LightTabs']                           =   FALSE;     //   use   graphically   less   intense   menu   tabs  
  $cfg['PropertiesIconic']             =   TRUE;       //   Use   icons   instead   of   text   for   the   table   display   of   a   database   (TRUE|FALSE|'both')  
  $cfg['PropertiesNumColumns']     =   1;             //   How   many   columns   should   be   used   for   table   display   of   a   database?  
                                                                                  //   (a   value   larger   than   1   results   in   some   information   being   hidden)  
   
  $cfg['DefaultTabServer']             =   'main.php';  
                                                                        //   Possible   values:  
                                                                        //   'main.php'   =   the   welcome   page  
                                                                        //   (recommended   for   multiuser   setups)  
                                                                        //   'server_databases.php'   =   list   of   databases  
                                                                        //   'server_status.php'   =   runtime   information  
                                                                        //   'server_variables.php'   =   MySQL   server   variables  
                                                                        //   'server_privileges.php'   =   user   management  
                                                                        //   'server_processlist.php'   =   process   list  
  $cfg['DefaultTabDatabase']         =   'db_details_structure.php';  
                                                                        //   Possible   values:  
                                                                        //   'db_details_structure.php'   =   tables   list  
                                                                        //   'db_details.php'   =   sql   form  
                                                                        //   'db_search.php'   =   search   query  
  Top

9 楼microfire(凝冰&封情)回复于 2004-02-02 00:09:29 得分 5

要设置cinfig.inc.php文件,具体做法看一下   phpmyadmin/documentation.html   吧.Top

10 楼alexdream(阿辛)回复于 2004-02-02 00:20:13 得分 0

晕,英文Top

相关问题

  • 我的程序已经运行,当我再次运行时,提示程序在运行中如何判断?
  • 老虾帮帮我呀,老运行不起,提示...
  • 我装Visual assist时,提示是16位程序不能运行.
  • webservice 运行提示错误!
  • 运行时提示错误!
  • 请问:如何防止我的程序被运行两次,第二次运行时显示提示!
  • 如何防止我的程序被运行两次,第二次运行时显示提示,简便一些的!
  • 50分求救,FreeTextBox我运行text.aspx时,它提示“运行时间脚本错误”?
  • 我在命令提示符下输入命令,程序运行后提示用户输入,输入后程序继续运行,请问用什么语句
  • 为什麽,运行Delphi程序时,总是提示我要先保存?

关键词

  • 文件
  • 安装
  • php
  • mysql
  • 设置
  • 请问
  • 谢谢
  • 的config
  • 应该

得分解答快速导航

  • 帖主:alexdream
  • ashchen
  • youbest
  • lsaturn
  • microfire

相关链接

  • Web开发类图书

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo