r2 - 16 Oct 2008 - 08:14:07 - Main.yfangYou are here: YWiki >  MyTech Web > PhpMyAdmin的限制

PhpMyAdmin的限制

说明

  • 最近使用phpMyAdmin的时候发现了一些问题,在这里分享一下
  • 本文版权归 作者yfang ( yangfang@fudan.edu.cn )所有。
  • 欢迎非版权转载,如果转载,请保留原作者信息及本网页URL,谢谢!

phpMyAdmin介绍

  • 其实这个不用多说,熟悉MySQL的朋友多少都会听说或者用过phpMyAdmin,在国内外一些草根网站主的眼睛里,phpMyAdmin更是毫不客气的占据了WAMP,LAMP开发套件中的一个重要部分,作为很多MySQL初级管理员的首选。
  • phpMyAdmin有他自己的优势,基于web,所以受到限制就比较小,有个浏览器就成。大部分功能也都可以在phpMyAdmin上操作。说实话我个人对于phpMyAdmin来说也只能说用过,不过高级配置不一定都了解,所以如果本文有任何不当或者错误之处,请各位指出。

莫名其妙的错误

  • 首先看看下面这个截图,是不是觉得有些奇怪

    phpMyadminbug.jpg

  • 这个问题出现在一个test数据库上,明明看到test(11),这表明test数据库中有11个表,而清单却没有列出来,这个怎么说都是一个bug了。权限没有问题,甚至可以执行SHOW TABLES 命令正常查看到那11个表,也可以读写这11个表。
  • 经过检查,其他的数据库没有受影响,都是正常的。
  • 我用的是phpMyAdmin - 2.8.0.2,这个版本应该说是老了点,不知道新版本有没有这个问题,说实话,没什么兴趣试。

一个phpMyAdmin里常见的报错

  • 老规矩,先看报错信息
Error
SQL query: 
call doshow(
);

MySQL said:  
#1312 - PROCEDURE mysql.doshow can't return a result set in the given context [ Back ] 
  • 首先说明,这个不是phpMyAdmin的bug,而是功能,phpMyAdmin里约束了

Topic attachments
I Attachment Action Size Date Who Comment
jpgjpg phpMyadminbug.jpg manage 32.4 K 16 Oct 2008 - 08:12 Main.yfang  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by YWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding YWiki? Send feedback