PageRenderTime 66ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 1ms

/phpmyadmin/doc/html/faq.html

https://bitbucket.org/rdown/openemr
HTML | 1780 lines | 1760 code | 20 blank | 0 comment | 0 complexity | 00dffb796f721de378c2c09ebf646692 MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-3.0, BSD-3-Clause, GPL-2.0, MPL-2.0, GPL-3.0, LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>FAQ - Frequently Asked Questions &mdash; phpMyAdmin 4.0.4 documentation</title>
  7. <link rel="stylesheet" href="_static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '4.0.4',
  13. COLLAPSE_INDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/underscore.js"></script>
  20. <script type="text/javascript" src="_static/doctools.js"></script>
  21. <link rel="copyright" title="Copyright" href="copyright.html" />
  22. <link rel="top" title="phpMyAdmin 4.0.4 documentation" href="index.html" />
  23. <link rel="next" title="Developers Information" href="developers.html" />
  24. <link rel="prev" title="Other sources of information" href="other.html" />
  25. </head>
  26. <body>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="developers.html" title="Developers Information"
  35. accesskey="N">next</a> |</li>
  36. <li class="right" >
  37. <a href="other.html" title="Other sources of information"
  38. accesskey="P">previous</a> |</li>
  39. <li><a href="index.html">phpMyAdmin 4.0.4 documentation</a> &raquo;</li>
  40. </ul>
  41. </div>
  42. <div class="document">
  43. <div class="documentwrapper">
  44. <div class="bodywrapper">
  45. <div class="body">
  46. <div class="section" id="faq-frequently-asked-questions">
  47. <span id="faq"></span><h1>FAQ - Frequently Asked Questions<a class="headerlink" href="#faq-frequently-asked-questions" title="Permalink to this headline"></a></h1>
  48. <p>Please have a look at our <a class="reference external" href="http://www.phpmyadmin.net/home_page/docs.php">Link section</a> on the official
  49. phpMyAdmin homepage for in-depth coverage of phpMyAdmin&#8217;s features and
  50. or interface.</p>
  51. <div class="section" id="server">
  52. <span id="faqserver"></span><h2>Server<a class="headerlink" href="#server" title="Permalink to this headline"></a></h2>
  53. <div class="section" id="my-server-is-crashing-each-time-a-specific-action-is-required-or-phpmyadmin-sends-a-blank-page-or-a-page-full-of-cryptic-characters-to-my-browser-what-can-i-do">
  54. <span id="faq1-1"></span><h3>1.1 My server is crashing each time a specific action is required or phpMyAdmin sends a blank page or a page full of cryptic characters to my browser, what can I do?<a class="headerlink" href="#my-server-is-crashing-each-time-a-specific-action-is-required-or-phpmyadmin-sends-a-blank-page-or-a-page-full-of-cryptic-characters-to-my-browser-what-can-i-do" title="Permalink to this headline"></a></h3>
  55. <p>Try to set the <span class="target" id="index-0"></span><a class="reference internal" href="config.html#cfg_OBGzip"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['OBGzip']</span></tt></a> directive to <tt class="docutils literal"><span class="pre">false</span></tt> in your
  56. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> file and the <tt class="docutils literal"><span class="pre">zlib.output_compression</span></tt> directive to
  57. <tt class="docutils literal"><span class="pre">Off</span></tt> in your php configuration file.</p>
  58. </div>
  59. <div class="section" id="my-apache-server-crashes-when-using-phpmyadmin">
  60. <span id="faq1-2"></span><h3>1.2 My Apache server crashes when using phpMyAdmin.<a class="headerlink" href="#my-apache-server-crashes-when-using-phpmyadmin" title="Permalink to this headline"></a></h3>
  61. <p>You should first try the latest versions of Apache (and possibly MySQL). If
  62. your server keeps crashing, please ask for help in the various Apache support
  63. groups.</p>
  64. <div class="admonition-see-also admonition seealso">
  65. <p class="first admonition-title">See also</p>
  66. <p class="last"><a class="reference internal" href="#faq1-1"><em>1.1 My server is crashing each time a specific action is required or phpMyAdmin sends a blank page or a page full of cryptic characters to my browser, what can I do?</em></a></p>
  67. </div>
  68. </div>
  69. <div class="section" id="withdrawn">
  70. <span id="faq1-3"></span><h3>1.3 (withdrawn).<a class="headerlink" href="#withdrawn" title="Permalink to this headline"></a></h3>
  71. </div>
  72. <div class="section" id="using-phpmyadmin-on-iis-i-m-displayed-the-error-message-the-specified-cgi-application-misbehaved-by-not-returning-a-complete-set-of-http-headers">
  73. <span id="faq1-4"></span><h3>1.4 Using phpMyAdmin on IIS, I&#8217;m displayed the error message: &#8220;The specified CGI application misbehaved by not returning a complete set of HTTP headers ...&#8221;.<a class="headerlink" href="#using-phpmyadmin-on-iis-i-m-displayed-the-error-message-the-specified-cgi-application-misbehaved-by-not-returning-a-complete-set-of-http-headers" title="Permalink to this headline"></a></h3>
  74. <p>You just forgot to read the <em>install.txt</em> file from the PHP
  75. distribution. Have a look at the last message in this <a class="reference external" href="http://bugs.php.net/bug.php?id=12061">PHP bug report #12061</a> from the official PHP bug
  76. database.</p>
  77. </div>
  78. <div class="section" id="using-phpmyadmin-on-iis-i-m-facing-crashes-and-or-many-error-messages-with-the-http">
  79. <span id="faq1-5"></span><h3>1.5 Using phpMyAdmin on IIS, I&#8217;m facing crashes and/or many error messages with the HTTP.<a class="headerlink" href="#using-phpmyadmin-on-iis-i-m-facing-crashes-and-or-many-error-messages-with-the-http" title="Permalink to this headline"></a></h3>
  80. <p>This is a known problem with the PHP <a class="reference internal" href="glossary.html#term-isapi"><em class="xref std std-term">ISAPI</em></a> filter: it&#8217;s not so stable.
  81. Please use instead the cookie authentication mode.</p>
  82. </div>
  83. <div class="section" id="i-can-t-use-phpmyadmin-on-pws-nothing-is-displayed">
  84. <span id="faq1-6"></span><h3>1.6 I can&#8217;t use phpMyAdmin on PWS: nothing is displayed!<a class="headerlink" href="#i-can-t-use-phpmyadmin-on-pws-nothing-is-displayed" title="Permalink to this headline"></a></h3>
  85. <p>This seems to be a PWS bug. Filippo Simoncini found a workaround (at
  86. this time there is no better fix): remove or comment the <tt class="docutils literal"><span class="pre">DOCTYPE</span></tt>
  87. declarations (2 lines) from the scripts <tt class="file docutils literal"><span class="pre">libraries/Header.class.php</span></tt>
  88. and <tt class="file docutils literal"><span class="pre">index.php</span></tt>.</p>
  89. </div>
  90. <div class="section" id="how-can-i-gzip-or-bzip-a-dump-or-a-csv-export-it-does-not-seem-to-work">
  91. <span id="faq1-7"></span><h3>1.7 How can I GZip or Bzip a dump or a CSV export? It does not seem to work.<a class="headerlink" href="#how-can-i-gzip-or-bzip-a-dump-or-a-csv-export-it-does-not-seem-to-work" title="Permalink to this headline"></a></h3>
  92. <p>These features are based on the <tt class="docutils literal"><span class="pre">gzencode()</span></tt> and <tt class="docutils literal"><span class="pre">bzcompress()</span></tt>
  93. PHP functions to be more independent of the platform (Unix/Windows,
  94. Safe Mode or not, and so on). So, you must have Zlib/Bzip2 support
  95. (<tt class="docutils literal"><span class="pre">--with-zlib</span></tt> and <tt class="docutils literal"><span class="pre">--with-bz2</span></tt>).</p>
  96. </div>
  97. <div class="section" id="i-cannot-insert-a-text-file-in-a-table-and-i-get-an-error-about-safe-mode-being-in-effect">
  98. <span id="faq1-8"></span><h3>1.8 I cannot insert a text file in a table, and I get an error about safe mode being in effect.<a class="headerlink" href="#i-cannot-insert-a-text-file-in-a-table-and-i-get-an-error-about-safe-mode-being-in-effect" title="Permalink to this headline"></a></h3>
  99. <p>Your uploaded file is saved by PHP in the &#8220;upload dir&#8221;, as defined in
  100. <tt class="file docutils literal"><span class="pre">php.ini</span></tt> by the variable <tt class="docutils literal"><span class="pre">upload_tmp_dir</span></tt> (usually the system
  101. default is <em>/tmp</em>). We recommend the following setup for Apache
  102. servers running in safe mode, to enable uploads of files while being
  103. reasonably secure:</p>
  104. <ul class="simple">
  105. <li>create a separate directory for uploads: <strong class="command">mkdir /tmp/php</strong></li>
  106. <li>give ownership to the Apache server&#8217;s user.group: <strong class="command">chown
  107. apache.apache /tmp/php</strong></li>
  108. <li>give proper permission: <strong class="command">chmod 600 /tmp/php</strong></li>
  109. <li>put <tt class="docutils literal"><span class="pre">upload_tmp_dir</span> <span class="pre">=</span> <span class="pre">/tmp/php</span></tt> in <tt class="file docutils literal"><span class="pre">php.ini</span></tt></li>
  110. <li>restart Apache</li>
  111. </ul>
  112. </div>
  113. <div class="section" id="faq1-9">
  114. <span id="id1"></span><h3>1.9 (withdrawn).<a class="headerlink" href="#faq1-9" title="Permalink to this headline"></a></h3>
  115. </div>
  116. <div class="section" id="i-m-having-troubles-when-uploading-files-with-phpmyadmin-running-on-a-secure-server-my-browser-is-internet-explorer-and-i-m-using-the-apache-server">
  117. <span id="faq1-10"></span><h3>1.10 I&#8217;m having troubles when uploading files with phpMyAdmin running on a secure server. My browser is Internet Explorer and I&#8217;m using the Apache server.<a class="headerlink" href="#i-m-having-troubles-when-uploading-files-with-phpmyadmin-running-on-a-secure-server-my-browser-is-internet-explorer-and-i-m-using-the-apache-server" title="Permalink to this headline"></a></h3>
  118. <p>As suggested by &#8220;Rob M&#8221; in the phpWizard forum, add this line to your
  119. <em>httpd.conf</em>:</p>
  120. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">SetEnvIf</span> <span class="k">User</span>-Agent <span class="s2">&quot;.*MSIE.*&quot;</span> nokeepalive ssl-unclean-shutdown
  121. </pre></div>
  122. </div>
  123. <p>It seems to clear up many problems between Internet Explorer and SSL.</p>
  124. </div>
  125. <div class="section" id="i-get-an-open-basedir-restriction-while-uploading-a-file-from-the-query-box">
  126. <span id="faq1-11"></span><h3>1.11 I get an &#8216;open_basedir restriction&#8217; while uploading a file from the query box.<a class="headerlink" href="#i-get-an-open-basedir-restriction-while-uploading-a-file-from-the-query-box" title="Permalink to this headline"></a></h3>
  127. <p>Since version 2.2.4, phpMyAdmin supports servers with open_basedir
  128. restrictions. However you need to create temporary directory and configure it
  129. as <span class="target" id="index-1"></span><a class="reference internal" href="config.html#cfg_TempDir"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['TempDir']</span></tt></a>. The uploaded files will be moved there,
  130. and after execution of your <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> commands, removed.</p>
  131. </div>
  132. <div class="section" id="i-have-lost-my-mysql-root-password-what-can-i-do">
  133. <span id="faq1-12"></span><h3>1.12 I have lost my MySQL root password, what can I do?<a class="headerlink" href="#i-have-lost-my-mysql-root-password-what-can-i-do" title="Permalink to this headline"></a></h3>
  134. <p>The MySQL manual explains how to <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/resetting-permissions.html">reset the permissions</a>.</p>
  135. </div>
  136. <div class="section" id="faq1-13">
  137. <span id="id2"></span><h3>1.13 (withdrawn).<a class="headerlink" href="#faq1-13" title="Permalink to this headline"></a></h3>
  138. </div>
  139. <div class="section" id="faq1-14">
  140. <span id="id3"></span><h3>1.14 (withdrawn).<a class="headerlink" href="#faq1-14" title="Permalink to this headline"></a></h3>
  141. </div>
  142. <div class="section" id="i-have-problems-with-mysql-user-column-names">
  143. <span id="faq1-15"></span><h3>1.15 I have problems with <em>mysql.user</em> column names.<a class="headerlink" href="#i-have-problems-with-mysql-user-column-names" title="Permalink to this headline"></a></h3>
  144. <p>In previous MySQL versions, the <tt class="docutils literal"><span class="pre">User</span></tt> and <tt class="docutils literal"><span class="pre">Password``columns</span> <span class="pre">were</span>
  145. <span class="pre">named</span> <span class="pre">``user</span></tt> and <tt class="docutils literal"><span class="pre">password</span></tt>. Please modify your column names to
  146. align with current standards.</p>
  147. </div>
  148. <div class="section" id="i-cannot-upload-big-dump-files-memory-http-or-timeout-problems">
  149. <span id="faq1-16"></span><h3>1.16 I cannot upload big dump files (memory, HTTP or timeout problems).<a class="headerlink" href="#i-cannot-upload-big-dump-files-memory-http-or-timeout-problems" title="Permalink to this headline"></a></h3>
  150. <p>Starting with version 2.7.0, the import engine has been rewritten and
  151. these problems should not occur. If possible, upgrade your phpMyAdmin
  152. to the latest version to take advantage of the new import features.</p>
  153. <p>The first things to check (or ask your host provider to check) are the
  154. values of <tt class="docutils literal"><span class="pre">upload_max_filesize</span></tt>, <tt class="docutils literal"><span class="pre">memory_limit</span></tt> and
  155. <tt class="docutils literal"><span class="pre">post_max_size</span></tt> in the <tt class="file docutils literal"><span class="pre">php.ini</span></tt> configuration file. All of these
  156. three settings limit the maximum size of data that can be submitted
  157. and handled by PHP. One user also said that <tt class="docutils literal"><span class="pre">post_max_size</span></tt> and
  158. <tt class="docutils literal"><span class="pre">memory_limit</span></tt> need to be larger than <tt class="docutils literal"><span class="pre">upload_max_filesize</span></tt>.
  159. There exist several workarounds if your upload is too big or your
  160. hosting provider is unwilling to change the settings:</p>
  161. <ul>
  162. <li><p class="first">Look at the <span class="target" id="index-2"></span><a class="reference internal" href="config.html#cfg_UploadDir"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['UploadDir']</span></tt></a> feature. This allows one to upload a file to the server
  163. via scp, ftp, or your favorite file transfer method. PhpMyAdmin is
  164. then able to import the files from the temporary directory. More
  165. information is available in the <a class="reference internal" href="config.html#config"><em>Configuration</em></a> of this document.</p>
  166. </li>
  167. <li><p class="first">Using a utility (such as <a class="reference external" href="http://www.ozerov.de/bigdump.php">BigDump</a>) to split the files before
  168. uploading. We cannot support this or any third party applications, but
  169. are aware of users having success with it.</p>
  170. </li>
  171. <li><p class="first">If you have shell (command line) access, use MySQL to import the files
  172. directly. You can do this by issuing the &#8220;source&#8221; command from within
  173. MySQL:</p>
  174. <div class="highlight-mysql"><div class="highlight"><pre><span class="n">source</span> <span class="n">filename</span><span class="p">.</span><span class="k">sql</span><span class="p">;</span>
  175. </pre></div>
  176. </div>
  177. </li>
  178. </ul>
  179. </div>
  180. <div class="section" id="which-mysql-versions-does-phpmyadmin-support">
  181. <span id="faq1-17"></span><h3>1.17 Which MySQL versions does phpMyAdmin support?<a class="headerlink" href="#which-mysql-versions-does-phpmyadmin-support" title="Permalink to this headline"></a></h3>
  182. <p>Since phpMyAdmin 3.0.x, only MySQL 5.0.1 and newer are supported. For
  183. older MySQL versions, you need to use the latest 2.x branch.
  184. phpMyAdmin can connect to your MySQL server using PHP&#8217;s classic <a class="reference external" href="http://php.net/mysql">MySQL
  185. extension</a> as well as the <a class="reference external" href="http://php.net/mysqli">improved MySQL
  186. extension (MySQLi)</a> that is available in PHP
  187. 5.0. The latter one should be used unless you have a good reason not
  188. to do so. When compiling PHP, we strongly recommend that you manually
  189. link the MySQL extension of your choice to a MySQL client library of
  190. at least the same minor version since the one that is bundled with
  191. some PHP distributions is rather old and might cause problems see
  192. <a class="reference internal" href="#faq1-17a"><em>1.17a I cannot connect to the MySQL server. It always returns the error message, &#8220;Client does not support authentication protocol requested by server; consider upgrading MySQL client&#8221;</em></a>. <a class="reference external" href="http://mariadb.org/">MariaDB</a> is also supported
  193. (versions 5.1 and 5.2 were tested).</p>
  194. <p class="versionchanged">
  195. <span class="versionmodified">Changed in version 3.5: </span>Since phpMyAdmin 3.5 <a class="reference external" href="http://www.drizzle.org/">Drizzle</a> is supported.</p>
  196. </div>
  197. <div class="section" id="a-i-cannot-connect-to-the-mysql-server-it-always-returns-the-error-message-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client">
  198. <span id="faq1-17a"></span><h3>1.17a I cannot connect to the MySQL server. It always returns the error message, &#8220;Client does not support authentication protocol requested by server; consider upgrading MySQL client&#8221;<a class="headerlink" href="#a-i-cannot-connect-to-the-mysql-server-it-always-returns-the-error-message-client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client" title="Permalink to this headline"></a></h3>
  199. <p>You tried to access MySQL with an old MySQL client library. The
  200. version of your MySQL client library can be checked in your phpinfo()
  201. output. In general, it should have at least the same minor version as
  202. your server - as mentioned in <a class="reference internal" href="#faq1-17"><em>1.17 Which MySQL versions does phpMyAdmin support?</em></a>. This problem is
  203. generally caused by using MySQL version 4.1 or newer. MySQL changed
  204. the authentication hash and your PHP is trying to use the old method.
  205. The proper solution is to use the <a class="reference external" href="http://www.php.net/mysqli">mysqli extension</a> with the proper client library to match
  206. your MySQL installation. Your chosen extension is specified in
  207. <span class="target" id="index-3"></span><a class="reference internal" href="config.html#cfg_Servers_extension"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['extension']</span></tt></a>. More
  208. information (and several workarounds) are located in the <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/old-client.html">MySQL
  209. Documentation</a>.</p>
  210. </div>
  211. <div class="section" id="faq1-18">
  212. <span id="id4"></span><h3>1.18 (withdrawn).<a class="headerlink" href="#faq1-18" title="Permalink to this headline"></a></h3>
  213. </div>
  214. <div class="section" id="i-can-t-run-the-display-relations-feature-because-the-script-seems-not-to-know-the-font-face-i-m-using">
  215. <span id="faq1-19"></span><h3>1.19 I can&#8217;t run the &#8220;display relations&#8221; feature because the script seems not to know the font face I&#8217;m using!<a class="headerlink" href="#i-can-t-run-the-display-relations-feature-because-the-script-seems-not-to-know-the-font-face-i-m-using" title="Permalink to this headline"></a></h3>
  216. <p>The <a class="reference internal" href="glossary.html#term-tcpdf"><em class="xref std std-term">TCPDF</em></a> library we&#8217;re using for this feature requires some special
  217. files to use font faces. Please refers to the <a class="reference external" href="http://www.tcpdf.org/">TCPDF manual</a> to build these files.</p>
  218. </div>
  219. <div class="section" id="i-receive-the-error-cannot-load-mysql-extension-please-check-php-configuration">
  220. <span id="faqmysql"></span><h3>1.20 I receive the error &#8220;cannot load MySQL extension, please check PHP Configuration&#8221;.<a class="headerlink" href="#i-receive-the-error-cannot-load-mysql-extension-please-check-php-configuration" title="Permalink to this headline"></a></h3>
  221. <p>To connect to a MySQL server, PHP needs a set of MySQL functions
  222. called &#8220;MySQL extension&#8221;. This extension may be part of the PHP
  223. distribution (compiled-in), otherwise it needs to be loaded
  224. dynamically. Its name is probably <em>mysql.so</em> or <em>php_mysql.dll</em>.
  225. phpMyAdmin tried to load the extension but failed. Usually, the
  226. problem is solved by installing a software package called &#8220;PHP-MySQL&#8221;
  227. or something similar.</p>
  228. </div>
  229. <div class="section" id="i-am-running-the-cgi-version-of-php-under-unix-and-i-cannot-log-in-using-cookie-auth">
  230. <span id="faq1-21"></span><h3>1.21 I am running the CGI version of PHP under Unix, and I cannot log in using cookie auth.<a class="headerlink" href="#i-am-running-the-cgi-version-of-php-under-unix-and-i-cannot-log-in-using-cookie-auth" title="Permalink to this headline"></a></h3>
  231. <p>In <tt class="file docutils literal"><span class="pre">php.ini</span></tt>, set <tt class="docutils literal"><span class="pre">mysql.max_links</span></tt> higher than 1.</p>
  232. </div>
  233. <div class="section" id="i-don-t-see-the-location-of-text-file-field-so-i-cannot-upload">
  234. <span id="faq1-22"></span><h3>1.22 I don&#8217;t see the &#8220;Location of text file&#8221; field, so I cannot upload.<a class="headerlink" href="#i-don-t-see-the-location-of-text-file-field-so-i-cannot-upload" title="Permalink to this headline"></a></h3>
  235. <p>This is most likely because in <tt class="file docutils literal"><span class="pre">php.ini</span></tt>, your <tt class="docutils literal"><span class="pre">file_uploads</span></tt>
  236. parameter is not set to &#8220;on&#8221;.</p>
  237. </div>
  238. <div class="section" id="i-m-running-mysql-on-a-win32-machine-each-time-i-create-a-new-table-the-table-and-column-names-are-changed-to-lowercase">
  239. <span id="faq1-23"></span><h3>1.23 I&#8217;m running MySQL on a Win32 machine. Each time I create a new table the table and column names are changed to lowercase!<a class="headerlink" href="#i-m-running-mysql-on-a-win32-machine-each-time-i-create-a-new-table-the-table-and-column-names-are-changed-to-lowercase" title="Permalink to this headline"></a></h3>
  240. <p>This happens because the MySQL directive <tt class="docutils literal"><span class="pre">lower_case_table_names</span></tt>
  241. defaults to 1 (<tt class="docutils literal"><span class="pre">ON</span></tt>) in the Win32 version of MySQL. You can change
  242. this behavior by simply changing the directive to 0 (<tt class="docutils literal"><span class="pre">OFF</span></tt>): Just
  243. edit your <tt class="docutils literal"><span class="pre">my.ini</span></tt> file that should be located in your Windows
  244. directory and add the following line to the group [mysqld]:</p>
  245. <div class="highlight-ini"><div class="highlight"><pre><span class="na">set-variable</span> <span class="o">=</span> <span class="s">lower_case_table_names=0</span>
  246. </pre></div>
  247. </div>
  248. <p>Next, save the file and restart the MySQL service. You can always
  249. check the value of this directive using the query</p>
  250. <div class="highlight-mysql"><div class="highlight"><pre><span class="k">SHOW</span> <span class="n">VARIABLES</span> <span class="k">LIKE</span> <span class="s1">&#39;lower_case_table_names&#39;</span><span class="p">;</span>
  251. </pre></div>
  252. </div>
  253. </div>
  254. <div class="section" id="faq1-24">
  255. <span id="id5"></span><h3>1.24 (withdrawn).<a class="headerlink" href="#faq1-24" title="Permalink to this headline"></a></h3>
  256. </div>
  257. <div class="section" id="i-am-running-apache-with-mod-gzip-1-3-26-1a-on-windows-xp-and-i-get-problems-such-as-undefined-variables-when-i-run-a-sql-query">
  258. <span id="faq1-25"></span><h3>1.25 I am running Apache with mod_gzip-1.3.26.1a on Windows XP, and I get problems, such as undefined variables when I run a SQL query.<a class="headerlink" href="#i-am-running-apache-with-mod-gzip-1-3-26-1a-on-windows-xp-and-i-get-problems-such-as-undefined-variables-when-i-run-a-sql-query" title="Permalink to this headline"></a></h3>
  259. <p>A tip from Jose Fandos: put a comment on the following two lines in
  260. httpd.conf, like this:</p>
  261. <div class="highlight-apache"><div class="highlight"><pre><span class="c"># mod_gzip_item_include file \.php$</span>
  262. <span class="c"># mod_gzip_item_include mime &quot;application/x-httpd-php.*&quot;</span>
  263. </pre></div>
  264. </div>
  265. <p>as this version of mod_gzip on Apache (Windows) has problems handling
  266. PHP scripts. Of course you have to restart Apache.</p>
  267. </div>
  268. <div class="section" id="i-just-installed-phpmyadmin-in-my-document-root-of-iis-but-i-get-the-error-no-input-file-specified-when-trying-to-run-phpmyadmin">
  269. <span id="faq1-26"></span><h3>1.26 I just installed phpMyAdmin in my document root of IIS but I get the error &#8220;No input file specified&#8221; when trying to run phpMyAdmin.<a class="headerlink" href="#i-just-installed-phpmyadmin-in-my-document-root-of-iis-but-i-get-the-error-no-input-file-specified-when-trying-to-run-phpmyadmin" title="Permalink to this headline"></a></h3>
  270. <p>This is a permission problem. Right-click on the phpmyadmin folder and
  271. choose properties. Under the tab Security, click on &#8220;Add&#8221; and select
  272. the user &#8220;IUSR_machine&#8221; from the list. Now set his permissions and it
  273. should work.</p>
  274. </div>
  275. <div class="section" id="i-get-empty-page-when-i-want-to-view-huge-page-eg-db-structure-php-with-plenty-of-tables">
  276. <span id="faq1-27"></span><h3>1.27 I get empty page when I want to view huge page (eg. db_structure.php with plenty of tables).<a class="headerlink" href="#i-get-empty-page-when-i-want-to-view-huge-page-eg-db-structure-php-with-plenty-of-tables" title="Permalink to this headline"></a></h3>
  277. <p>This was caused by a <a class="reference external" href="http://bugs.php.net/21079">PHP bug</a> that occur when
  278. GZIP output buffering is enabled. If you turn off it (by
  279. <span class="target" id="index-4"></span><a class="reference internal" href="config.html#cfg_OBGzip"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['OBGzip']</span></tt></a> in <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>), it should work.
  280. This bug will has been fixed in PHP 5.0.0.</p>
  281. </div>
  282. <div class="section" id="my-mysql-server-sometimes-refuses-queries-and-returns-the-message-errorcode-13-what-does-this-mean">
  283. <span id="faq1-28"></span><h3>1.28 My MySQL server sometimes refuses queries and returns the message &#8216;Errorcode: 13&#8217;. What does this mean?<a class="headerlink" href="#my-mysql-server-sometimes-refuses-queries-and-returns-the-message-errorcode-13-what-does-this-mean" title="Permalink to this headline"></a></h3>
  284. <p>This can happen due to a MySQL bug when having database / table names
  285. with upper case characters although <tt class="docutils literal"><span class="pre">lower_case_table_names</span></tt> is
  286. set to 1. To fix this, turn off this directive, convert all database
  287. and table names to lower case and turn it on again. Alternatively,
  288. there&#8217;s a bug-fix available starting with MySQL&nbsp;3.23.56 /
  289. 4.0.11-gamma.</p>
  290. </div>
  291. <div class="section" id="when-i-create-a-table-or-modify-a-column-i-get-an-error-and-the-columns-are-duplicated">
  292. <span id="faq1-29"></span><h3>1.29 When I create a table or modify a column, I get an error and the columns are duplicated.<a class="headerlink" href="#when-i-create-a-table-or-modify-a-column-i-get-an-error-and-the-columns-are-duplicated" title="Permalink to this headline"></a></h3>
  293. <p>It is possible to configure Apache in such a way that PHP has problems
  294. interpreting .php files.</p>
  295. <p>The problems occur when two different (and conflicting) set of
  296. directives are used:</p>
  297. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">SetOutputFilter</span> PHP
  298. <span class="nb">SetInputFilter</span> PHP
  299. </pre></div>
  300. </div>
  301. <p>and</p>
  302. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">AddType</span> application/x-httpd-php .php
  303. </pre></div>
  304. </div>
  305. <p>In the case we saw, one set of directives was in
  306. <tt class="docutils literal"><span class="pre">/etc/httpd/conf/httpd.conf</span></tt>, while the other set was in
  307. <tt class="docutils literal"><span class="pre">/etc/httpd/conf/addon-modules/php.conf</span></tt>. The recommended way is
  308. with <tt class="docutils literal"><span class="pre">AddType</span></tt>, so just comment out the first set of lines and
  309. restart Apache:</p>
  310. <div class="highlight-apache"><div class="highlight"><pre><span class="c">#SetOutputFilter PHP</span>
  311. <span class="c">#SetInputFilter PHP</span>
  312. </pre></div>
  313. </div>
  314. </div>
  315. <div class="section" id="i-get-the-error-navigation-php-missing-hash">
  316. <span id="faq1-30"></span><h3>1.30 I get the error &#8220;navigation.php: Missing hash&#8221;.<a class="headerlink" href="#i-get-the-error-navigation-php-missing-hash" title="Permalink to this headline"></a></h3>
  317. <p>This problem is known to happen when the server is running Turck
  318. MMCache but upgrading MMCache to version 2.3.21 solves the problem.</p>
  319. </div>
  320. <div class="section" id="does-phpmyadmin-support-php-5">
  321. <span id="faq1-31"></span><h3>1.31 Does phpMyAdmin support PHP 5?<a class="headerlink" href="#does-phpmyadmin-support-php-5" title="Permalink to this headline"></a></h3>
  322. <p>Yes.</p>
  323. <p>Since release 3.0 only PHP 5.2 and newer. For older PHP versions, use
  324. phpMyAdmin 2.11.x.</p>
  325. </div>
  326. <div class="section" id="can-i-use-http-authentication-with-iis">
  327. <span id="faq1-32"></span><h3>1.32 Can I use HTTP authentication with IIS?<a class="headerlink" href="#can-i-use-http-authentication-with-iis" title="Permalink to this headline"></a></h3>
  328. <p>Yes. This procedure was tested with phpMyAdmin 2.6.1, PHP 4.3.9 in
  329. <a class="reference internal" href="glossary.html#term-isapi"><em class="xref std std-term">ISAPI</em></a> mode under <a class="reference internal" href="glossary.html#term-iis"><em class="xref std std-term">IIS</em></a> 5.1.</p>
  330. <ol class="arabic simple">
  331. <li>In your <tt class="file docutils literal"><span class="pre">php.ini</span></tt> file, set <tt class="docutils literal"><span class="pre">cgi.rfc2616_headers</span> <span class="pre">=</span> <span class="pre">0</span></tt></li>
  332. <li>In <tt class="docutils literal"><span class="pre">Web</span> <span class="pre">Site</span> <span class="pre">Properties</span> <span class="pre">-&gt;</span> <span class="pre">File/Directory</span> <span class="pre">Security</span> <span class="pre">-&gt;</span> <span class="pre">Anonymous</span>
  333. <span class="pre">Access</span></tt> dialog box, check the <tt class="docutils literal"><span class="pre">Anonymous</span> <span class="pre">access</span></tt> checkbox and
  334. uncheck any other checkboxes (i.e. uncheck <tt class="docutils literal"><span class="pre">Basic</span> <span class="pre">authentication</span></tt>,
  335. <tt class="docutils literal"><span class="pre">Integrated</span> <span class="pre">Windows</span> <span class="pre">authentication</span></tt>, and <tt class="docutils literal"><span class="pre">Digest</span></tt> if it&#8217;s
  336. enabled.) Click <tt class="docutils literal"><span class="pre">OK</span></tt>.</li>
  337. <li>In <tt class="docutils literal"><span class="pre">Custom</span> <span class="pre">Errors</span></tt>, select the range of <tt class="docutils literal"><span class="pre">401;1</span></tt> through <tt class="docutils literal"><span class="pre">401;5</span></tt>
  338. and click the <tt class="docutils literal"><span class="pre">Set</span> <span class="pre">to</span> <span class="pre">Default</span></tt> button.</li>
  339. </ol>
  340. <div class="admonition-see-also admonition seealso">
  341. <p class="first admonition-title">See also</p>
  342. <p class="last"><span class="target" id="index-5"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc2616.html"><strong>RFC 2616</strong></a></p>
  343. </div>
  344. </div>
  345. <div class="section" id="faq1-33">
  346. <span id="id6"></span><h3>1.33 (withdrawn).<a class="headerlink" href="#faq1-33" title="Permalink to this headline"></a></h3>
  347. </div>
  348. <div class="section" id="can-i-access-directly-to-database-or-table-pages">
  349. <span id="faq1-34"></span><h3>1.34 Can I access directly to database or table pages?<a class="headerlink" href="#can-i-access-directly-to-database-or-table-pages" title="Permalink to this headline"></a></h3>
  350. <p>Yes. Out of the box, you can use <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> like <a class="reference external" href="http://server/phpMyAdmin/index.php?server=X&amp;db=databas">http://server/phpMyAdmin/index.php?server=X&amp;db=databas</a>
  351. e&amp;table=table&amp;target=script. For <tt class="docutils literal"><span class="pre">server</span></tt> you use the server number
  352. which refers to the order of the server paragraph in
  353. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>. Table and script parts are optional. If you want
  354. <a class="reference external" href="http://server/phpMyAdmin/database[/table][/script">http://server/phpMyAdmin/database[/table][/script</a>] <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a>, you need to do some configuration. Following
  355. lines apply only for <a class="reference external" href="http://httpd.apache.org">Apache</a> web server.
  356. First make sure, that you have enabled some features within global
  357. configuration. You need <tt class="docutils literal"><span class="pre">Options</span> <span class="pre">FollowSymLinks</span></tt> and <tt class="docutils literal"><span class="pre">AllowOverride</span>
  358. <span class="pre">FileInfo</span></tt> enabled for directory where phpMyAdmin is installed and you
  359. need mod_rewrite to be enabled. Then you just need to create
  360. following <a class="reference internal" href="glossary.html#term-htaccess"><em class="xref std std-term">.htaccess</em></a> file in root folder of phpMyAdmin installation (don&#8217;t
  361. forget to change directory name inside of it):</p>
  362. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">On</span>
  363. <span class="nb">RewriteBase</span> <span class="sx">/path_to_phpMyAdmin</span>
  364. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([a-z_]+\.php)$ index.php?db=$1&amp;table=$2&amp;target=$3 [R]
  365. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)/([a-z_]+\.php)$ index.php?db=$1&amp;target=$2 [R]
  366. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?db=$1&amp;table=$2 [R]
  367. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
  368. </pre></div>
  369. </div>
  370. </div>
  371. <div class="section" id="can-i-use-http-authentication-with-apache-cgi">
  372. <span id="faq1-35"></span><h3>1.35 Can I use HTTP authentication with Apache CGI?<a class="headerlink" href="#can-i-use-http-authentication-with-apache-cgi" title="Permalink to this headline"></a></h3>
  373. <p>Yes. However you need to pass authentication variable to <a class="reference internal" href="glossary.html#term-cgi"><em class="xref std std-term">CGI</em></a> using
  374. following rewrite rule:</p>
  375. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">On</span>
  376. <span class="nb">RewriteRule</span> .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  377. </pre></div>
  378. </div>
  379. </div>
  380. <div class="section" id="i-get-an-error-500-internal-server-error">
  381. <span id="faq1-36"></span><h3>1.36 I get an error &#8220;500 Internal Server Error&#8221;.<a class="headerlink" href="#i-get-an-error-500-internal-server-error" title="Permalink to this headline"></a></h3>
  382. <p>There can be many explanations to this and a look at your server&#8217;s
  383. error log file might give a clue.</p>
  384. </div>
  385. <div class="section" id="i-run-phpmyadmin-on-cluster-of-different-machines-and-password-encryption-in-cookie-auth-doesn-t-work">
  386. <span id="faq1-37"></span><h3>1.37 I run phpMyAdmin on cluster of different machines and password encryption in cookie auth doesn&#8217;t work.<a class="headerlink" href="#i-run-phpmyadmin-on-cluster-of-different-machines-and-password-encryption-in-cookie-auth-doesn-t-work" title="Permalink to this headline"></a></h3>
  387. <p>If your cluster consist of different architectures, PHP code used for
  388. encryption/decryption won&#8217;t work correct. This is caused by use of
  389. pack/unpack functions in code. Only solution is to use mcrypt
  390. extension which works fine in this case.</p>
  391. </div>
  392. <div class="section" id="can-i-use-phpmyadmin-on-a-server-on-which-suhosin-is-enabled">
  393. <span id="faq1-38"></span><h3>1.38 Can I use phpMyAdmin on a server on which Suhosin is enabled?<a class="headerlink" href="#can-i-use-phpmyadmin-on-a-server-on-which-suhosin-is-enabled" title="Permalink to this headline"></a></h3>
  394. <p>Yes but the default configuration values of Suhosin are known to cause
  395. problems with some operations, for example editing a table with many
  396. columns and no primary key or with textual primary key.</p>
  397. <p>Suhosin configuration might lead to malfunction in some cases and it
  398. can not be fully avoided as phpMyAdmin is kind of application which
  399. needs to transfer big amounts of columns in single HTTP request, what
  400. is something what Suhosin tries to prevent. Generally all
  401. <tt class="docutils literal"><span class="pre">suhosin.request.*</span></tt>, <tt class="docutils literal"><span class="pre">suhosin.post.*</span></tt> and <tt class="docutils literal"><span class="pre">suhosin.get.*</span></tt>
  402. directives can have negative effect on phpMyAdmin usability. You can
  403. always find in your error logs which limit did cause dropping of
  404. variable, so you can diagnose the problem and adjust matching
  405. configuration variable.</p>
  406. <p>The default values for most Suhosin configuration options will work in
  407. most scenarios, however you might want to adjust at least following
  408. parameters:</p>
  409. <ul class="simple">
  410. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.request.max_vars">suhosin.request.max_vars</a> should
  411. be increased (eg. 2048)</li>
  412. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.post.max_vars">suhosin.post.max_vars</a> should be
  413. increased (eg. 2048)</li>
  414. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.request.max_array_index_length">suhosin.request.max_array_index_length</a>
  415. should be increased (eg. 256)</li>
  416. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.post.max_array_index_length">suhosin.post.max_array_index_length</a>
  417. should be increased (eg. 256)</li>
  418. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.request.max_totalname_length">suhosin.request.max_totalname_length</a>
  419. should be increased (eg. 8192)</li>
  420. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.post.max_totalname_length">suhosin.post.max_totalname_length</a> should be
  421. increased (eg. 8192)</li>
  422. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.get.max_value_length">suhosin.get.max_value_length</a>
  423. should be increased (eg. 1024)</li>
  424. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.sql.bailout_on_error">suhosin.sql.bailout_on_error</a>
  425. needs to be disabled (the default)</li>
  426. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#logging_configuration">suhosin.log.*</a> should not
  427. include <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a>, otherwise you get big
  428. slowdown</li>
  429. </ul>
  430. <p>You can also disable the warning using the <span class="target" id="index-6"></span><a class="reference internal" href="config.html#cfg_SuhosinDisableWarning"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['SuhosinDisableWarning']</span></tt></a>.</p>
  431. </div>
  432. <div class="section" id="when-i-try-to-connect-via-https-i-can-log-in-but-then-my-connection-is-redirected-back-to-http-what-can-cause-this-behavior">
  433. <span id="faq1-39"></span><h3>1.39 When I try to connect via https, I can log in, but then my connection is redirected back to http. What can cause this behavior?<a class="headerlink" href="#when-i-try-to-connect-via-https-i-can-log-in-but-then-my-connection-is-redirected-back-to-http-what-can-cause-this-behavior" title="Permalink to this headline"></a></h3>
  434. <p>Be sure that you have enabled <tt class="docutils literal"><span class="pre">SSLOptions</span></tt> and <tt class="docutils literal"><span class="pre">StdEnvVars</span></tt> in
  435. your Apache configuration.</p>
  436. <div class="admonition-see-also admonition seealso">
  437. <p class="first admonition-title">See also</p>
  438. <p class="last">&lt;<a class="reference external" href="http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#ssloptions">http://httpd.apache.org/docs/2.0/mod/mod_ssl.html#ssloptions</a>&gt;</p>
  439. </div>
  440. </div>
  441. <div class="section" id="when-accessing-phpmyadmin-via-an-apache-reverse-proxy-cookie-login-does-not-work">
  442. <span id="faq1-40"></span><h3>1.40 When accessing phpMyAdmin via an Apache reverse proxy, cookie login does not work.<a class="headerlink" href="#when-accessing-phpmyadmin-via-an-apache-reverse-proxy-cookie-login-does-not-work" title="Permalink to this headline"></a></h3>
  443. <p>To be able to use cookie auth Apache must know that it has to rewrite
  444. the set-cookie headers. Example from the Apache 2.2 documentation:</p>
  445. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">ProxyPass</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/
  446. <span class="nb">ProxyPassReverse</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/
  447. <span class="nb">ProxyPassReverseCookieDomain</span> backend.example.com public.example.com
  448. <span class="nb">ProxyPassReverseCookiePath</span> / <span class="sx">/mirror/foo/</span>
  449. </pre></div>
  450. </div>
  451. <p>Note: if the backend url looks like <a class="reference external" href="http://host/~user/phpmyadmin">http://host/~user/phpmyadmin</a>, the
  452. tilde (~) must be url encoded as %7E in the ProxyPassReverse* lines.
  453. This is not specific to phpmyadmin, it&#8217;s just the behavior of Apache.</p>
  454. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">ProxyPass</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/~user/phpmyadmin
  455. <span class="nb">ProxyPassReverse</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/%7Euser/phpmyadmin
  456. <span class="nb">ProxyPassReverseCookiePath</span> /%7Euser/phpmyadmin <span class="sx">/mirror/foo</span>
  457. </pre></div>
  458. </div>
  459. <div class="admonition-see-also admonition seealso">
  460. <p class="first admonition-title">See also</p>
  461. <p class="last">&lt;<a class="reference external" href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html">http://httpd.apache.org/docs/2.2/mod/mod_proxy.html</a>&gt;</p>
  462. </div>
  463. </div>
  464. <div class="section" id="when-i-view-a-database-and-ask-to-see-its-privileges-i-get-an-error-about-an-unknown-column">
  465. <span id="faq1-41"></span><h3>1.41 When I view a database and ask to see its privileges, I get an error about an unknown column.<a class="headerlink" href="#when-i-view-a-database-and-ask-to-see-its-privileges-i-get-an-error-about-an-unknown-column" title="Permalink to this headline"></a></h3>
  466. <p>The MySQL server&#8217;s privilege tables are not up to date, you need to
  467. run the <strong class="command">mysql_upgrade</strong> command on the server.</p>
  468. </div>
  469. <div class="section" id="how-can-i-prevent-robots-from-accessing-phpmyadmin">
  470. <span id="faq1-42"></span><h3>1.42 How can I prevent robots from accessing phpMyAdmin?<a class="headerlink" href="#how-can-i-prevent-robots-from-accessing-phpmyadmin" title="Permalink to this headline"></a></h3>
  471. <p>You can add various rules to <a class="reference internal" href="glossary.html#term-htaccess"><em class="xref std std-term">.htaccess</em></a> to filter access based on user agent
  472. field. This is quite easy to circumvent, but could prevent at least
  473. some robots accessing your installation.</p>
  474. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">on</span>
  475. <span class="c"># Allow only GET and POST verbs</span>
  476. <span class="nb">RewriteCond</span> %{REQUEST_METHOD} !^(GET|POST)$ [NC,OR]
  477. <span class="c"># Ban Typical Vulnerability Scanners and others</span>
  478. <span class="c"># Kick out Script Kiddies</span>
  479. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^(java|curl|wget).* [NC,OR]
  480. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^.*(libwww-perl|curl|wget|python|nikto|wkito|pikto|scan|acunetix).* [NC,OR]
  481. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^.*(winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner).* [NC,OR]
  482. <span class="c"># Ban Search Engines, Crawlers to your administrative panel</span>
  483. <span class="c"># No reasons to access from bots</span>
  484. <span class="c"># Ultimately Better than the useless robots.txt</span>
  485. <span class="c"># Did google respect robots.txt?</span>
  486. <span class="c"># Try google: intitle:phpMyAdmin intext:&quot;Welcome to phpMyAdmin *.*.*&quot; intext:&quot;Log in&quot; -wiki -forum -forums -questions intext:&quot;Cookies must be enabled&quot;</span>
  487. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^.*(AdsBot-Google|ia_archiver|Scooter|Ask.Jeeves|Baiduspider|Exabot|FAST.Enterprise.Crawler|FAST-WebCrawler|www\.neomo\.de|Gigabot|Mediapartners-Google|Google.Desktop|Feedfetcher-Google|Googlebot|heise-IT-Markt-Crawler|heritrix|ibm.com\cs/crawler|ICCrawler|ichiro|MJ12bot|MetagerBot|msnbot-NewsBlogs|msnbot|msnbot-media|NG-Search|lucene.apache.org|NutchCVS|OmniExplorer_Bot|online.link.validator|psbot0|Seekbot|Sensis.Web.Crawler|SEO.search.Crawler|Seoma.\[SEO.Crawler\]|SEOsearch|Snappy|www.urltrends.com|www.tkl.iis.u-tokyo.ac.jp/~crawler|SynooBot|crawleradmin.t-info@telekom.de|TurnitinBot|voyager|W3.SiteSearch.Crawler|W3C-checklink|W3C_Validator|www.WISEnutbot.com|yacybot|Yahoo-MMCrawler|Yahoo\!.DE.Slurp|Yahoo\!.Slurp|YahooSeeker).* [NC]
  488. <span class="nb">RewriteRule</span> .* - [F]
  489. </pre></div>
  490. </div>
  491. </div>
  492. <div class="section" id="why-can-t-i-display-the-structure-of-my-table-containing-hundreds-of-columns">
  493. <span id="faq1-43"></span><h3>1.43 Why can&#8217;t I display the structure of my table containing hundreds of columns?<a class="headerlink" href="#why-can-t-i-display-the-structure-of-my-table-containing-hundreds-of-columns" title="Permalink to this headline"></a></h3>
  494. <p>Because your PHP&#8217;s <tt class="docutils literal"><span class="pre">memory_limit</span></tt> is too low; adjust it in <tt class="file docutils literal"><span class="pre">php.ini</span></tt>.</p>
  495. </div>
  496. </div>
  497. <div class="section" id="configuration">
  498. <span id="faqconfig"></span><h2>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline"></a></h2>
  499. <div class="section" id="the-error-message-warning-cannot-add-header-information-headers-already-sent-by-is-displayed-what-s-the-problem">
  500. <span id="faq2-1"></span><h3>2.1 The error message &#8220;Warning: Cannot add header information - headers already sent by ...&#8221; is displayed, what&#8217;s the problem?<a class="headerlink" href="#the-error-message-warning-cannot-add-header-information-headers-already-sent-by-is-displayed-what-s-the-problem" title="Permalink to this headline"></a></h3>
  501. <p>Edit your <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> file and ensure there is nothing (I.E. no
  502. blank lines, no spaces, no characters...) neither before the <tt class="docutils literal"><span class="pre">&lt;?php</span></tt> tag at
  503. the beginning, neither after the <tt class="docutils literal"><span class="pre">?&gt;</span></tt> tag at the end. We also got a report
  504. from a user under <a class="reference internal" href="glossary.html#term-iis"><em class="xref std std-term">IIS</em></a>, that used a zipped distribution kit: the file
  505. <tt class="file docutils literal"><span class="pre">libraries/Config.class.php</span></tt> contained an end-of-line character (hex 0A)
  506. at the end; removing this character cleared his errors.</p>
  507. </div>
  508. <div class="section" id="phpmyadmin-can-t-connect-to-mysql-what-s-wrong">
  509. <span id="faq2-2"></span><h3>2.2 phpMyAdmin can&#8217;t connect to MySQL. What&#8217;s wrong?<a class="headerlink" href="#phpmyadmin-can-t-connect-to-mysql-what-s-wrong" title="Permalink to this headline"></a></h3>
  510. <p>Either there is an error with your PHP setup or your username/password
  511. is wrong. Try to make a small script which uses mysql_connect and see
  512. if it works. If it doesn&#8217;t, it may be you haven&#8217;t even compiled MySQL
  513. support into PHP.</p>
  514. </div>
  515. <div class="section" id="the-error-message-warning-mysql-connection-failed-can-t-connect-to-local-mysql-server-through-socket-tmp-mysql-sock-111-is-displayed-what-can-i-do">
  516. <span id="faq2-3"></span><h3>2.3 The error message &#8220;Warning: MySQL Connection Failed: Can&#8217;t connect to local MySQL server through socket &#8216;/tmp/mysql.sock&#8217; (111) ...&#8221; is displayed. What can I do?<a class="headerlink" href="#the-error-message-warning-mysql-connection-failed-can-t-connect-to-local-mysql-server-through-socket-tmp-mysql-sock-111-is-displayed-what-can-i-do" title="Permalink to this headline"></a></h3>
  517. <p>For RedHat users, Harald Legner suggests this on the mailing list:</p>
  518. <p>On my RedHat-Box…

Large files files are truncated, but you can click here to view the full file