<bdo id='mFzRn'></bdo><ul id='mFzRn'></ul>
<tfoot id='mFzRn'></tfoot>

    1. <legend id='mFzRn'><style id='mFzRn'><dir id='mFzRn'><q id='mFzRn'></q></dir></style></legend>

      1. <i id='mFzRn'><tr id='mFzRn'><dt id='mFzRn'><q id='mFzRn'><span id='mFzRn'><b id='mFzRn'><form id='mFzRn'><ins id='mFzRn'></ins><ul id='mFzRn'></ul><sub id='mFzRn'></sub></form><legend id='mFzRn'></legend><bdo id='mFzRn'><pre id='mFzRn'><center id='mFzRn'></center></pre></bdo></b><th id='mFzRn'></th></span></q></dt></tr></i><div id='mFzRn'><tfoot id='mFzRn'></tfoot><dl id='mFzRn'><fieldset id='mFzRn'></fieldset></dl></div>

        <small id='mFzRn'></small><noframes id='mFzRn'>

        PHPMyadmin 不显示 mysql 错误消息

        PHPMyadmin does not show mysql error messages(PHPMyadmin 不显示 mysql 错误消息)
          <tbody id='8vpzs'></tbody>
          1. <i id='8vpzs'><tr id='8vpzs'><dt id='8vpzs'><q id='8vpzs'><span id='8vpzs'><b id='8vpzs'><form id='8vpzs'><ins id='8vpzs'></ins><ul id='8vpzs'></ul><sub id='8vpzs'></sub></form><legend id='8vpzs'></legend><bdo id='8vpzs'><pre id='8vpzs'><center id='8vpzs'></center></pre></bdo></b><th id='8vpzs'></th></span></q></dt></tr></i><div id='8vpzs'><tfoot id='8vpzs'></tfoot><dl id='8vpzs'><fieldset id='8vpzs'></fieldset></dl></div>

          2. <legend id='8vpzs'><style id='8vpzs'><dir id='8vpzs'><q id='8vpzs'></q></dir></style></legend>
          3. <small id='8vpzs'></small><noframes id='8vpzs'>

                <bdo id='8vpzs'></bdo><ul id='8vpzs'></ul>

                1. <tfoot id='8vpzs'></tfoot>
                2. 本文介绍了PHPMyadmin 不显示 mysql 错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在我的网站上安装了 phpMyAdmin 并且它工作正常.但是当我输入错误时,它不会显示 mysql 错误消息,只显示错误代码.

                  I installed phpMyAdmin on my site and it works. But when I mistype a query it does not show the mysql error message only the error code.

                  1064 -

                  我期待以下内容:

                  1064 - 你在你的废话中犯了错误......

                  1064 - You have and error in your blah blah...

                  如果没有错误消息,就很难知道哪里出了问题.

                  Without an error message it's difficult to know what's wrong.

                  在我的 php 脚本中,我可以通过 mysql_error() 获取错误消息.但 myAdmin 什么也没显示.

                  In my php scripts I'm able to get the error message via mysql_error(). But myAdmin shows nothing.

                  我用谷歌搜索了很多,但没有找到任何有用的东西.

                  I googled a lot but I didn't find anything useful.

                  如何让它显示错误信息?

                  How can I make it show the error messages?

                  有什么想法吗?

                  推荐答案

                  根据您得到#1064 -"作为输出这一事实判断,我只能在 phpMyAdmin 3.3.9.2 源代码中找到两个可能出现错误的地方发生.第一个是调用 mysql_errormysqli_error,具体取决于您的安装使用的后端.我看到你说 mysql_error 工作正常;如果您第一次登录时看到的 phpMyAdmin 信息页面表明正在使用 mysqli,您可能也想检查一下.

                  Judging by the fact that you get "#1064 -" as output, I can find only two places in the phpMyAdmin 3.3.9.2 source where the error could be occurring. The first is in the call to mysql_error or mysqli_error, depending on which backend your installation is using. I see you said that mysql_error works fine; if the phpMyAdmin information page you get when first logging in indicates that mysqli is being used, you might want to check that too.

                  但如果 mysql_error 有效,问题似乎更可能出在 library/database_interface.lib.php 中的 phpMyAdmin 字符集转换函数 PMA_DBI_convert_message 中.您可以通过在该函数的最顶部插入 return $message; 来轻松确认这一点,绕过其中的所有其他内容.如果这使它(或多或少)起作用,您可能想要确定 $server_language$GLOBALS['charset'] 被设置为什么;查看转换是否使用 iconvrecode_stringlibiconvmb_convert_encoding;然后尝试找出其中的任何一个未能正确转换错误消息的原因.

                  But if mysql_error works, it seems more likely that the problem is in phpMyAdmin's character set conversion function PMA_DBI_convert_message in libraries/database_interface.lib.php. You can confirm this easily enough by inserting return $message; at the very top of that function, bypassing everything else in there. If that makes it (more or less) work, you'd probably want to determine what $server_language and $GLOBALS['charset'] are getting set to; see if the conversion is using iconv, recode_string, libiconv, or mb_convert_encoding; and then try to work out why whichever of those is failing to convert the error message properly.

                  这篇关于PHPMyadmin 不显示 mysql 错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                  <i id='GXLuh'><tr id='GXLuh'><dt id='GXLuh'><q id='GXLuh'><span id='GXLuh'><b id='GXLuh'><form id='GXLuh'><ins id='GXLuh'></ins><ul id='GXLuh'></ul><sub id='GXLuh'></sub></form><legend id='GXLuh'></legend><bdo id='GXLuh'><pre id='GXLuh'><center id='GXLuh'></center></pre></bdo></b><th id='GXLuh'></th></span></q></dt></tr></i><div id='GXLuh'><tfoot id='GXLuh'></tfoot><dl id='GXLuh'><fieldset id='GXLuh'></fieldset></dl></div>
                  • <bdo id='GXLuh'></bdo><ul id='GXLuh'></ul>

                      <tbody id='GXLuh'></tbody>

                        <small id='GXLuh'></small><noframes id='GXLuh'>

                          <tfoot id='GXLuh'></tfoot>
                          • <legend id='GXLuh'><style id='GXLuh'><dir id='GXLuh'><q id='GXLuh'></q></dir></style></legend>