PageRenderTime 82ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/moodle1917/configuracionCated/phpmyadmin/doc/html/faq.html

https://github.com/gustavoramirezrugerio/moodle1.9.17
HTML | 1791 lines | 1771 code | 20 blank | 0 comment | 0 complexity | c7d4fc7c498e8a0e48a356e9fa6f34a1 MD5 | raw file
Possible License(s): LGPL-3.0, LGPL-2.1, BSD-3-Clause, LGPL-2.0, GPL-2.0
  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.1.6 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.1.6',
  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.1.6 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.1.6 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-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 a dump or a CSV export? It does not seem to work.<a class="headerlink" href="#how-can-i-gzip-a-dump-or-a-csv-export-it-does-not-seem-to-work" title="Permalink to this headline"></a></h3>
  92. <p>This feature is based on the <tt class="docutils literal"><span class="pre">gzencode()</span></tt>
  93. PHP function to be more independent of the platform (Unix/Windows,
  94. Safe Mode or not, and so on). So, you must have Zlib support
  95. (<tt class="docutils literal"><span class="pre">--with-zlib</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. <p>There are currently two interfaces PHP provides as MySQL extensions - <tt class="docutils literal"><span class="pre">mysql</span></tt>
  229. and <tt class="docutils literal"><span class="pre">mysqli</span></tt> and you can change which of then is being used by
  230. <span class="target" id="index-4"></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>.</p>
  231. </div>
  232. <div class="section" id="i-am-running-the-cgi-version-of-php-under-unix-and-i-cannot-log-in-using-cookie-auth">
  233. <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>
  234. <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>
  235. </div>
  236. <div class="section" id="i-don-t-see-the-location-of-text-file-field-so-i-cannot-upload">
  237. <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>
  238. <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>
  239. parameter is not set to &#8220;on&#8221;.</p>
  240. </div>
  241. <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">
  242. <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>
  243. <p>This happens because the MySQL directive <tt class="docutils literal"><span class="pre">lower_case_table_names</span></tt>
  244. defaults to 1 (<tt class="docutils literal"><span class="pre">ON</span></tt>) in the Win32 version of MySQL. You can change
  245. this behavior by simply changing the directive to 0 (<tt class="docutils literal"><span class="pre">OFF</span></tt>): Just
  246. edit your <tt class="docutils literal"><span class="pre">my.ini</span></tt> file that should be located in your Windows
  247. directory and add the following line to the group [mysqld]:</p>
  248. <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>
  249. </pre></div>
  250. </div>
  251. <p>Next, save the file and restart the MySQL service. You can always
  252. check the value of this directive using the query</p>
  253. <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>
  254. </pre></div>
  255. </div>
  256. </div>
  257. <div class="section" id="faq1-24">
  258. <span id="id5"></span><h3>1.24 (withdrawn).<a class="headerlink" href="#faq1-24" title="Permalink to this headline"></a></h3>
  259. </div>
  260. <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">
  261. <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>
  262. <p>A tip from Jose Fandos: put a comment on the following two lines in
  263. httpd.conf, like this:</p>
  264. <div class="highlight-apache"><div class="highlight"><pre><span class="c"># mod_gzip_item_include file \.php$</span>
  265. <span class="c"># mod_gzip_item_include mime &quot;application/x-httpd-php.*&quot;</span>
  266. </pre></div>
  267. </div>
  268. <p>as this version of mod_gzip on Apache (Windows) has problems handling
  269. PHP scripts. Of course you have to restart Apache.</p>
  270. </div>
  271. <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">
  272. <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>
  273. <p>This is a permission problem. Right-click on the phpmyadmin folder and
  274. choose properties. Under the tab Security, click on &#8220;Add&#8221; and select
  275. the user &#8220;IUSR_machine&#8221; from the list. Now set his permissions and it
  276. should work.</p>
  277. </div>
  278. <div class="section" id="i-get-empty-page-when-i-want-to-view-huge-page-eg-db-structure-php-with-plenty-of-tables">
  279. <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>
  280. <p>This was caused by a <a class="reference external" href="http://bugs.php.net/21079">PHP bug</a> that occur when
  281. GZIP output buffering is enabled. If you turn off it (by
  282. <span class="target" id="index-5"></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.
  283. This bug will has been fixed in PHP 5.0.0.</p>
  284. </div>
  285. <div class="section" id="my-mysql-server-sometimes-refuses-queries-and-returns-the-message-errorcode-13-what-does-this-mean">
  286. <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>
  287. <p>This can happen due to a MySQL bug when having database / table names
  288. with upper case characters although <tt class="docutils literal"><span class="pre">lower_case_table_names</span></tt> is
  289. set to 1. To fix this, turn off this directive, convert all database
  290. and table names to lower case and turn it on again. Alternatively,
  291. there&#8217;s a bug-fix available starting with MySQL&nbsp;3.23.56 /
  292. 4.0.11-gamma.</p>
  293. </div>
  294. <div class="section" id="when-i-create-a-table-or-modify-a-column-i-get-an-error-and-the-columns-are-duplicated">
  295. <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>
  296. <p>It is possible to configure Apache in such a way that PHP has problems
  297. interpreting .php files.</p>
  298. <p>The problems occur when two different (and conflicting) set of
  299. directives are used:</p>
  300. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">SetOutputFilter</span> PHP
  301. <span class="nb">SetInputFilter</span> PHP
  302. </pre></div>
  303. </div>
  304. <p>and</p>
  305. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">AddType</span> application/x-httpd-php .php
  306. </pre></div>
  307. </div>
  308. <p>In the case we saw, one set of directives was in
  309. <tt class="docutils literal"><span class="pre">/etc/httpd/conf/httpd.conf</span></tt>, while the other set was in
  310. <tt class="docutils literal"><span class="pre">/etc/httpd/conf/addon-modules/php.conf</span></tt>. The recommended way is
  311. with <tt class="docutils literal"><span class="pre">AddType</span></tt>, so just comment out the first set of lines and
  312. restart Apache:</p>
  313. <div class="highlight-apache"><div class="highlight"><pre><span class="c">#SetOutputFilter PHP</span>
  314. <span class="c">#SetInputFilter PHP</span>
  315. </pre></div>
  316. </div>
  317. </div>
  318. <div class="section" id="i-get-the-error-navigation-php-missing-hash">
  319. <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>
  320. <p>This problem is known to happen when the server is running Turck
  321. MMCache but upgrading MMCache to version 2.3.21 solves the problem.</p>
  322. </div>
  323. <div class="section" id="does-phpmyadmin-support-php-5">
  324. <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>
  325. <p>Yes.</p>
  326. <p>Since release 4.1 phpMyAdmin supports only PHP 5.3 and newer. For PHP 5.2 you
  327. can use 4.0.x releases.</p>
  328. </div>
  329. <div class="section" id="can-i-use-http-authentication-with-iis">
  330. <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>
  331. <p>Yes. This procedure was tested with phpMyAdmin 2.6.1, PHP 4.3.9 in
  332. <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>
  333. <ol class="arabic simple">
  334. <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>
  335. <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>
  336. <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
  337. uncheck any other checkboxes (i.e. uncheck <tt class="docutils literal"><span class="pre">Basic</span> <span class="pre">authentication</span></tt>,
  338. <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
  339. enabled.) Click <tt class="docutils literal"><span class="pre">OK</span></tt>.</li>
  340. <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>
  341. 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>
  342. </ol>
  343. <div class="admonition-see-also admonition seealso">
  344. <p class="first admonition-title">See also</p>
  345. <p class="last"><span class="target" id="index-6"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc2616.html"><strong>RFC 2616</strong></a></p>
  346. </div>
  347. </div>
  348. <div class="section" id="faq1-33">
  349. <span id="id6"></span><h3>1.33 (withdrawn).<a class="headerlink" href="#faq1-33" title="Permalink to this headline"></a></h3>
  350. </div>
  351. <div class="section" id="can-i-access-directly-to-database-or-table-pages">
  352. <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>
  353. <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
  354. <a class="reference external" href="http://server/phpMyAdmin/index.php?server=X&amp;db=database&amp;table=table&amp;target=script">http://server/phpMyAdmin/index.php?server=X&amp;db=database&amp;table=table&amp;target=script</a>.
  355. For <tt class="docutils literal"><span class="pre">server</span></tt> you use the server number
  356. which refers to the order of the server paragraph in
  357. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>. Table and script parts are optional. If you want
  358. <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
  359. lines apply only for <a class="reference external" href="http://httpd.apache.org">Apache</a> web server.
  360. First make sure, that you have enabled some features within global
  361. 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>
  362. <span class="pre">FileInfo</span></tt> enabled for directory where phpMyAdmin is installed and you
  363. need mod_rewrite to be enabled. Then you just need to create
  364. 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
  365. forget to change directory name inside of it):</p>
  366. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">On</span>
  367. <span class="nb">RewriteBase</span> <span class="sx">/path_to_phpMyAdmin</span>
  368. <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]
  369. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)/([a-z_]+\.php)$ index.php?db=$1&amp;target=$2 [R]
  370. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)$ index.php?db=$1&amp;table=$2 [R]
  371. <span class="nb">RewriteRule</span> ^([a-zA-Z0-9_]+)$ index.php?db=$1 [R]
  372. </pre></div>
  373. </div>
  374. </div>
  375. <div class="section" id="can-i-use-http-authentication-with-apache-cgi">
  376. <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>
  377. <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
  378. following rewrite rule:</p>
  379. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">On</span>
  380. <span class="nb">RewriteRule</span> .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
  381. </pre></div>
  382. </div>
  383. </div>
  384. <div class="section" id="i-get-an-error-500-internal-server-error">
  385. <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>
  386. <p>There can be many explanations to this and a look at your server&#8217;s
  387. error log file might give a clue.</p>
  388. </div>
  389. <div class="section" id="i-run-phpmyadmin-on-cluster-of-different-machines-and-password-encryption-in-cookie-auth-doesn-t-work">
  390. <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>
  391. <p>If your cluster consist of different architectures, PHP code used for
  392. encryption/decryption won&#8217;t work correct. This is caused by use of
  393. pack/unpack functions in code. Only solution is to use mcrypt
  394. extension which works fine in this case.</p>
  395. </div>
  396. <div class="section" id="can-i-use-phpmyadmin-on-a-server-on-which-suhosin-is-enabled">
  397. <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>
  398. <p>Yes but the default configuration values of Suhosin are known to cause
  399. problems with some operations, for example editing a table with many
  400. columns and no primary key or with textual primary key.</p>
  401. <p>Suhosin configuration might lead to malfunction in some cases and it
  402. can not be fully avoided as phpMyAdmin is kind of application which
  403. needs to transfer big amounts of columns in single HTTP request, what
  404. is something what Suhosin tries to prevent. Generally all
  405. <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>
  406. directives can have negative effect on phpMyAdmin usability. You can
  407. always find in your error logs which limit did cause dropping of
  408. variable, so you can diagnose the problem and adjust matching
  409. configuration variable.</p>
  410. <p>The default values for most Suhosin configuration options will work in
  411. most scenarios, however you might want to adjust at least following
  412. parameters:</p>
  413. <ul class="simple">
  414. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#suhosin.request.max_vars">suhosin.request.max_vars</a> should
  415. be increased (eg. 2048)</li>
  416. <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
  417. increased (eg. 2048)</li>
  418. <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>
  419. should be increased (eg. 256)</li>
  420. <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>
  421. should be increased (eg. 256)</li>
  422. <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>
  423. should be increased (eg. 8192)</li>
  424. <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
  425. increased (eg. 8192)</li>
  426. <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>
  427. should be increased (eg. 1024)</li>
  428. <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>
  429. needs to be disabled (the default)</li>
  430. <li><a class="reference external" href="http://www.hardened-php.net/suhosin/configuration.html#logging_configuration">suhosin.log.*</a> should not
  431. include <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a>, otherwise you get big
  432. slowdown</li>
  433. </ul>
  434. <p>You can also disable the warning using the <span class="target" id="index-7"></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>
  435. </div>
  436. <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">
  437. <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>
  438. <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
  439. your Apache configuration.</p>
  440. <div class="admonition-see-also admonition seealso">
  441. <p class="first admonition-title">See also</p>
  442. <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>
  443. </div>
  444. </div>
  445. <div class="section" id="when-accessing-phpmyadmin-via-an-apache-reverse-proxy-cookie-login-does-not-work">
  446. <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>
  447. <p>To be able to use cookie auth Apache must know that it has to rewrite
  448. the set-cookie headers. Example from the Apache 2.2 documentation:</p>
  449. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">ProxyPass</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/
  450. <span class="nb">ProxyPassReverse</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/
  451. <span class="nb">ProxyPassReverseCookieDomain</span> backend.example.com public.example.com
  452. <span class="nb">ProxyPassReverseCookiePath</span> / <span class="sx">/mirror/foo/</span>
  453. </pre></div>
  454. </div>
  455. <p>Note: if the backend url looks like <a class="reference external" href="http://host/~user/phpmyadmin">http://host/~user/phpmyadmin</a>, the
  456. tilde (~) must be url encoded as %7E in the ProxyPassReverse* lines.
  457. This is not specific to phpmyadmin, it&#8217;s just the behavior of Apache.</p>
  458. <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
  459. <span class="nb">ProxyPassReverse</span> <span class="sx">/mirror/foo/</span> http://backend.example.com/%7Euser/phpmyadmin
  460. <span class="nb">ProxyPassReverseCookiePath</span> /%7Euser/phpmyadmin <span class="sx">/mirror/foo</span>
  461. </pre></div>
  462. </div>
  463. <div class="admonition-see-also admonition seealso">
  464. <p class="first admonition-title">See also</p>
  465. <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>
  466. </div>
  467. </div>
  468. <div class="section" id="when-i-view-a-database-and-ask-to-see-its-privileges-i-get-an-error-about-an-unknown-column">
  469. <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>
  470. <p>The MySQL server&#8217;s privilege tables are not up to date, you need to
  471. run the <strong class="command">mysql_upgrade</strong> command on the server.</p>
  472. </div>
  473. <div class="section" id="how-can-i-prevent-robots-from-accessing-phpmyadmin">
  474. <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>
  475. <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
  476. field. This is quite easy to circumvent, but could prevent at least
  477. some robots accessing your installation.</p>
  478. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">RewriteEngine</span> <span class="k">on</span>
  479. <span class="c"># Allow only GET and POST verbs</span>
  480. <span class="nb">RewriteCond</span> %{REQUEST_METHOD} !^(GET|POST)$ [NC,OR]
  481. <span class="c"># Ban Typical Vulnerability Scanners and others</span>
  482. <span class="c"># Kick out Script Kiddies</span>
  483. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^(java|curl|wget).* [NC,OR]
  484. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^.*(libwww-perl|curl|wget|python|nikto|wkito|pikto|scan|acunetix).* [NC,OR]
  485. <span class="nb">RewriteCond</span> %{HTTP_USER_AGENT} ^.*(winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner).* [NC,OR]
  486. <span class="c"># Ban Search Engines, Crawlers to your administrative panel</span>
  487. <span class="c"># No reasons to access from bots</span>
  488. <span class="c"># Ultimately Better than the useless robots.txt</span>
  489. <span class="c"># Did google respect robots.txt?</span>
  490. <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>
  491. <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]
  492. <span class="nb">RewriteRule</span> .* - [F]
  493. </pre></div>
  494. </div>
  495. </div>
  496. <div class="section" id="why-can-t-i-display-the-structure-of-my-table-containing-hundreds-of-columns">
  497. <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>
  498. <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>
  499. </div>
  500. </div>
  501. <div class="section" id="configuration">
  502. <span id="faqconfig"></span><h2>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline"></a></h2>
  503. <div class="section" id="the-error-message-warning-cannot-add-header-information-headers-already-sent-by-is-displayed-what-s-the-problem">
  504. <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>
  505. <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
  506. blank lines, no spaces, no characters...) neither before the <tt class="docutils literal"><span class="pre">&lt;?php</span></tt> tag at
  507. the beginning, neither after the <tt class="docutils literal"><span class="pre">?&gt;</span></tt> tag at the end. We also got a report
  508. 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
  509. <tt class="file docutils literal"><span class="pre">libraries/Config.class.php</span></tt> contained an end-of-line character (hex 0A)
  510. at the end; removing this character cleared his errors.</p>
  511. </div>
  512. <div class="section" id="phpmyadmin-can-t-connect-to-mysql-what-s-wrong">
  513. <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>
  514. <p>Either there is an error with your PHP setup or your username/password
  515. is wrong. Try to make a small script which uses mysql_connect and see
  516. if it works. If it doesn&#8217;t, it may be you haven&#8217;t even compiled MySQL
  517. support into PHP.</p>
  518. </div>
  519. <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">
  520. <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>
  521. <p>For RedHat users, Harald Legner suggests this on the mailing list:</p>
  522. <p>On my RedHat-Box the socket of MySQL is <em>/var/lib/mysql/mysql.sock</em>.
  523. In your <tt class="file docutils literal"><span class="pre">php.ini</span></tt> you will find a line</p>
  524. <div class="highlight-ini"><div class="highlight"><pre><span class="na">mysql.default_socket</span> <span class="o">=</span> <span class="s">/tmp/mysql.sock</span>
  525. </pre></div>
  526. </div>
  527. <p>change it to</p>
  528. <div class="highlight-ini"><div class="highlight"><pre><span class="na">mysql.default_socket</span> <span class="o">=</span> <span class="s">/var/lib/mysql/mysql.sock</span>
  529. </pre></div>
  530. </div>
  531. <p>Then restart apache and it will work.</p>
  532. <p>Here is a fix suggested by Brad Ummer:</p>
  533. <ul class="simple">
  534. <li>First, you need to determine what socket is being used by MySQL. To do
  535. this, telnet to your server and go to the MySQL bin directory. In this
  536. directory there should be a file named <em>mysqladmin</em>. Type
  537. <tt class="docutils literal"><span class="pre">./mysqladmin</span> <span class="pre">variables</span></tt>, and this should give you a bunch of info
  538. about your MySQL server, including the socket (<em>/tmp/mysql.sock</em>, for
  539. example).</li>
  540. <li>Then, you need to tell PHP to use this socket. To do this in
  541. phpMyAdmin, you need to complete the socket information in the
  542. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>. For example:
  543. <span class="target" id="index-8"></span><a class="reference internal" href="config.html#cfg_Servers_socket"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['socket']</span></tt></a> Please also make sure that
  544. the permissions of this file allow to be readable by your webserver (i.e.
  545. &#8216;0755&#8217;).</li>
  546. </ul>
  547. <p>Have also a look at the <a class="reference external" href="http://dev.mysql.com/doc/en/can-not-connect-to-server.html">corresponding section of the MySQL
  548. documentation</a>.</p>
  549. </div>
  550. <div class="section" id="nothing-is-displayed-by-my-browser-when-i-try-to-run-phpmyadmin-what-can-i-do">
  551. <span id="faq2-4"></span><h3>2.4 Nothing is displayed by my browser when I try to run phpMyAdmin, what can I do?<a class="headerlink" href="#nothing-is-displayed-by-my-browser-when-i-try-to-run-phpmyadmin-what-can-i-do" title="Permalink to this headline"></a></h3>
  552. <p>Try to set the <span class="target" id="index-9"></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 the phpMyAdmin configuration
  553. file. It helps sometime. Also have a look at your PHP version number:
  554. if it contains &#8220;b&#8221; or &#8220;alpha&#8221; it means you&#8217;re running a testing
  555. version of PHP. That&#8217;s not a so good idea, please upgrade to a plain
  556. revision.</p>
  557. </div>
  558. <div class="section" id="each-time-i-want-to-insert-or-change-a-row-or-drop-a-database-or-a-table-an-error-404-page-not-found-is-displayed-or-with-http-or-cookie-authentication-i-m-asked-to-log-in-again-what-s-wrong">
  559. <span id="faq2-5"></span><h3>2.5 Each time I want to insert or change a row or drop a database or a table, an error 404 (page not found) is displayed or, with HTTP or cookie authentication, I&#8217;m asked to log in again. What&#8217;s wrong?<a class="headerlink" href="#each-time-i-want-to-insert-or-change-a-row-or-drop-a-database-or-a-table-an-error-404-page-not-found-is-displayed-or-with-http-or-cookie-authentication-i-m-asked-to-log-in-again-what-s-wrong" title="Permalink to this headline"></a></h3>
  560. <p>Check the value you set for the <span class="target" id="index-10"></span><a class="reference internal" href="config.html#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a> directive in the phpMyAdmin
  561. configuration file.</p>
  562. </div>
  563. <div class="section" id="i-get-an-access-denied-for-user-root-localhost-using-password-yes-error-when-trying-to-access-a-mysql-server-on-a-host-which-is-port-forwarded-for-my-localhost">
  564. <span id="faq2-6"></span><h3>2.6 I get an &#8220;Access denied for user: <a class="reference external" href="mailto:'root&#37;&#52;&#48;localhost">'root<span>&#64;</span>localhost</a>&#8216; (Using password: YES)&#8221;-error when trying to access a MySQL-Server on a host which is port-forwarded for my localhost.<a class="headerlink" href="#i-get-an-access-denied-for-user-root-localhost-using-password-yes-error-when-trying-to-access-a-mysql-server-on-a-host-which-is-port-forwarded-for-my-localhost" title="Permalink to this headline">¶</a></h3>
  565. <p>When you are using a port on your localhost, which you redirect via
  566. port-forwarding to another host, MySQL is not resolving the localhost
  567. as expected. Erik Wasser explains: The solution is: if your host is
  568. &#8220;localhost&#8221; MySQL (the command line tool <strong class="command">mysql</strong> as well) always
  569. tries to use the socket connection for speeding up things. And that
  570. doesn&#8217;t work in this configuration with port forwarding. If you enter
  571. &#8220;127.0.0.1&#8221; as hostname, everything is right and MySQL uses the
  572. <a class="reference internal" href="glossary.html#term-tcp"><em class="xref std std-term">TCP</em></a> connection.</p>
  573. </div>
  574. <div class="section" id="using-and-creating-themes">
  575. <span id="faqthemes"></span><h3>2.7 Using and creating themes<a class="headerlink" href="#using-and-creating-themes" title="Permalink to this headline"></a></h3>
  576. <p>Themes are configured with <span class="target" id="index-11"></span><a class="reference internal" href="config.html#cfg_ThemePath"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemePath']</span></tt></a>,
  577. <span class="target" id="index-12"></span><a class="reference internal" href="config.html#cfg_ThemeManager"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemeManager']</span></tt></a> and <span class="target" id="index-13"></span><a class="reference internal" href="config.html#cfg_ThemeDefault"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemeDefault']</span></tt></a>.
  578. Under <span class="target" id="index-14"></span><a class="reference internal" href="config.html#cfg_ThemePath"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemePath']</span></tt></a>, you should not delete the
  579. directory <tt class="docutils literal"><span class="pre">pmahomme</span></tt> or its underlying structure, because this is the
  580. system theme used by phpMyAdmin. <tt class="docutils literal"><span class="pre">pmahomme</span></tt> contains all images and
  581. styles, for backwards compatibility and for all themes that would not
  582. include images or css-files. If <span class="target" id="index-15"></span><a class="reference internal" href="config.html#cfg_ThemeManager"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemeManager']</span></tt></a>
  583. is enabled, you can select your favorite theme on the main page. Your selected
  584. theme will be stored in a cookie.</p>
  585. <p>To create a theme:</p>
  586. <ul class="simple">
  587. <li>make a new subdirectory (for example &#8220;your_theme_name&#8221;) under <span class="target" id="index-16"></span><a class="reference internal" href="config.html#cfg_ThemePath"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ThemePath']</span></tt></a> (by
  588. default <tt class="docutils literal"><span class="pre">themes</span></tt>)</li>
  589. <li>copy the files and directories from <tt class="docutils literal"><span class="pre">pmahomme</span></tt> to &#8220;your_theme_name&#8221;</li>
  590. <li>edit the css-files in &#8220;your_theme_name/css&#8221;</li>
  591. <li>put your new images in &#8220;your_theme_name/img&#8221;</li>
  592. <li>edit <tt class="file docutils literal"><span class="pre">layout.inc.php</span></tt> in &#8220;your_theme_name&#8221;</li>
  593. <li>edit <tt class="file docutils literal"><span class="pre">info.inc.php</span></tt> in &#8220;your_theme_name&#8221; to contain your chosen
  594. theme name, that will be visible in user interface</li>
  595. <li>make a new screenshot of your theme and save it under
  596. &#8220;your_theme_name/screen.png&#8221;</li>
  597. </ul>
  598. <p>In theme directory there is file <tt class="file docutils literal"><span class="pre">info.inc.php</span></tt> which contains theme
  599. verbose name, theme generation and theme version. These versions and
  600. generations are enumerated from 1 and do not have any direct
  601. dependence on phpMyAdmin version. Themes within same generation should
  602. be backwards compatible - theme with version 2 should work in
  603. phpMyAdmin requiring version 1. Themes with different generation are
  604. incompatible.</p>
  605. <p>If you do not want to use your own symbols and buttons, remove the
  606. directory &#8220;img&#8221; in &#8220;your_theme_name&#8221;. phpMyAdmin will use the
  607. default icons and buttons (from the system-theme <tt class="docutils literal"><span class="pre">pmahomme</span></tt>).</p>
  608. </div>
  609. <div class="section" id="i-get-missing-parameters-errors-what-can-i-do">
  610. <span id="faqmissingparameters"></span><h3>2.8 I get &#8220;Missing parameters&#8221; errors, what can I do?<a class="headerlink" href="#i-get-missing-parameters-errors-what-can-i-do" title="Permalink to this headline"></a></h3>
  611. <p>Here are a few points to check:</p>
  612. <ul class="simple">
  613. <li>In <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt>, try to leave the <span class="target" id="index-17"></span><a class="reference internal" href="config.html#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a> directive empty. See also
  614. <a class="reference internal" href="#faq4-7"><em>4.7 Authentication window is displayed more than once, why?</em></a>.</li>
  615. <li>Maybe you have a broken PHP installation or you need to upgrade your
  616. Zend Optimizer. See &lt;<a class="reference external" href="http://bugs.php.net/bug.php?id=31134">http://bugs.php.net/bug.php?id=31134</a>&gt;.</li>
  617. <li>If you are using Hardened PHP with the ini directive
  618. <tt class="docutils literal"><span class="pre">varfilter.max_request_variables</span></tt> set to the default (200) or
  619. another low value, you could get this error if your table has a high
  620. number of columns. Adjust this setting accordingly. (Thanks to Klaus
  621. Dorninger for the hint).</li>
  622. <li>In the <tt class="file docutils literal"><span class="pre">php.ini</span></tt> directive <tt class="docutils literal"><span class="pre">arg_separator.input</span></tt>, a value of &#8221;;&#8221;
  623. will cause this error. Replace it with &#8220;&amp;;&#8221;.</li>
  624. <li>If you are using <a class="reference external" href="http://www.hardened-php.net/">Hardened-PHP</a>, you
  625. might want to increase <a class="reference external" href="http://www.hardened-php.net/hphp/troubleshooting.html">request limits</a>.</li>
  626. <li>The directory specified in the <tt class="file docutils literal"><span class="pre">php.ini</span></tt> directive
  627. <tt class="docutils literal"><span class="pre">session.save_path</span></tt> does not exist or is read-only.</li>
  628. </ul>
  629. </div>
  630. <div class="section" id="seeing-an-upload-progress-bar">
  631. <span id="faq2-9"></span><h3>2.9 Seeing an upload progress bar<a class="headerlink" href="#seeing-an-upload-progress-bar" title="Permalink to this headline"></a></h3>
  632. <p>To be able to see a progress bar during your uploads, your server must
  633. have the <a class="reference external" href="http://pecl.php.net/package/APC">APC</a> extension, the
  634. <a class="reference external" href="http://pecl.php.net/package/uploadprogress">uploadprogress</a> one, or
  635. you must be running PHP 5.4.0 or higher. Moreover, the JSON extension
  636. has to be enabled in your PHP.</p>
  637. <p>If using APC, you must set <tt class="docutils literal"><span class="pre">apc.rfc1867</span></tt> to <tt class="docutils literal"><span class="pre">on</span></tt> in your <tt class="file docutils literal"><span class="pre">php.ini</span></tt>.</p>
  638. <p>If using PHP 5.4.0 or higher, you must set
  639. <tt class="docutils literal"><span class="pre">session.upload_progress.enabled</span></tt> to <tt class="docutils literal"><span class="pre">1</span></tt> in your <tt class="file docutils literal"><span class="pre">php.ini</span></tt>. However,
  640. starting from phpMyAdmin version 4.0.4, session-based upload progress has
  641. been temporarily deactivated due to its problematic behavior.</p>
  642. <div class="admonition-see-also admonition seealso">
  643. <p class="first admonition-title">See also</p>
  644. <p class="last"><span class="target" id="index-18"></span><a class="rfc reference external" href="http://tools.ietf.org/html/rfc1867.html"><strong>RFC 1867</strong></a></p>
  645. </div>
  646. </div>
  647. </div>
  648. <div class="section" id="known-limitations">
  649. <span id="faqlimitations"></span><h2>Known limitations<a class="headerlink" href="#known-limitations" title="Permalink to this headline"></a></h2>
  650. <div class="section" id="when-using-http-authentication-a-user-who-logged-out-can-not-log-in-again-in-with-the-same-nick">
  651. <span id="login-bug"></span><h3>3.1 When using HTTP authentication, a user who logged out can not log in again in with the same nick.<a class="headerlink" href="#when-using-http-authentication-a-user-who-logged-out-can-not-log-in-again-in-with-the-same-nick" title="Permalink to this headline"></a></h3>
  652. <p>This is related to the authentication mechanism (protocol) used by
  653. phpMyAdmin. To bypass this problem: just close all the opened browser
  654. windows and then go back to phpMyAdmin. You should be able to log in
  655. again.</p>
  656. </div>
  657. <div class="section" id="when-dumping-a-large-table-in-compressed-mode-i-get-a-memory-limit-error-or-a-time-limit-error">
  658. <span id="faq3-2"></span><h3>3.2 When dumping a large table in compressed mode, I get a memory limit error or a time limit error.<a class="headerlink" href="#when-dumping-a-large-table-in-compressed-mode-i-get-a-memory-limit-error-or-a-time-limit-error" title="Permalink to this headline"></a></h3>
  659. <p>Compressed dumps are built in memory and because of this are limited
  660. to php&#8217;s memory limit. For GZip/BZip2 exports this can be overcome
  661. since 2.5.4 using <span class="target" id="index-19"></span><a class="reference internal" href="config.html#cfg_CompressOnFly"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['CompressOnFly']</span></tt></a> (enabled by default).
  662. Zip exports can not be handled this way, so if you need Zip files for larger
  663. dump, you have to use another way.</p>
  664. </div>
  665. <div class="section" id="with-innodb-tables-i-lose-foreign-key-relationships-when-i-rename-a-table-or-a-column">
  666. <span id="faq3-3"></span><h3>3.3 With InnoDB tables, I lose foreign key relationships when I rename a table or a column.<a class="headerlink" href="#with-innodb-tables-i-lose-foreign-key-relationships-when-i-rename-a-table-or-a-column" title="Permalink to this headline"></a></h3>
  667. <p>This is an InnoDB bug, see &lt;<a class="reference external" href="http://bugs.mysql.com/bug.php?id=21704">http://bugs.mysql.com/bug.php?id=21704</a>&gt;.</p>
  668. </div>
  669. <div class="section" id="i-am-unable-to-import-dumps-i-created-with-the-mysqldump-tool-bundled-with-the-mysql-server-distribution">
  670. <span id="faq3-4"></span><h3>3.4 I am unable to import dumps I created with the mysqldump tool bundled with the MySQL server distribution.<a class="headerlink" href="#i-am-unable-to-import-dumps-i-created-with-the-mysqldump-tool-bundled-with-the-mysql-server-distribution" title="Permalink to this headline"></a></h3>
  671. <p>The problem is that older versions of <tt class="docutils literal"><span class="pre">mysqldump</span></tt> created invalid
  672. comments like this:</p>
  673. <div class="highlight-mysql"><div class="highlight"><pre><span class="c1">-- MySQL dump 8.22</span>
  674. <span class="c1">--</span>
  675. <span class="c1">-- Host: localhost Database: database</span>
  676. <span class="o">-------------------------------------------------------</span><span class="c1">--</span>
  677. <span class="c1">-- Server version 3.23.54</span>
  678. </pre></div>
  679. </div>
  680. <p>The invalid part of the code is the horizontal line made of dashes
  681. that appears once in every dump created with mysqldump. If you want to
  682. run your dump you have to turn it into valid MySQL. This means, you
  683. have to add a whitespace after the first two dashes of the line or add
  684. a # before it: <tt class="docutils literal"><span class="pre">--</span> <span class="pre">-------------------------------------------------------</span></tt> or
  685. <tt class="docutils literal"><span class="pre">#---------------------------------------------------------</span></tt></p>
  686. </div>
  687. <div class="section" id="when-using-nested-folders-multiple-hierarchies-are-displayed-in-a-wrong-manner">
  688. <span id="faq3-5"></span><h3>3.5 When using nested folders, multiple hierarchies are displayed in a wrong manner.<a class="headerlink" href="#when-using-nested-folders-multiple-hierarchies-are-displayed-in-a-wrong-manner" title="Permalink to this headline"></a></h3>
  689. <p>Please note that you should not use the separating string multiple
  690. times without any characters between them, or at the beginning/end of
  691. your table name. If you have to, think about using another
  692. TableSeparator or disabling that feature.</p>
  693. <div class="admonition-see-also admonition seealso">
  694. <p class="first admonition-title">See also</p>
  695. <p class="last"><span class="target" id="index-20"></span><a class="reference internal" href="config.html#cfg_NavigationTreeTableSeparator"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['NavigationTreeTableSeparator']</span></tt></a></p>
  696. </div>
  697. </div>
  698. <div class="section" id="what-is-currently-not-supported-in-phpmyadmin-about-innodb">
  699. <span id="faq3-6"></span><h3>3.6 What is currently not supported in phpMyAdmin about InnoDB?<a class="headerlink" href="#what-is-currently-not-supported-in-phpmyadmin-about-innodb" title="Permalink to this headline"></a></h3>
  700. <p>In Relation view, having more than one index column in the foreign key. In Query-by-
  701. example (Query), automatic generation of the query LEFT JOIN from the
  702. foreign table.</p>
  703. </div>
  704. <div class="section" id="i-have-table-with-many-100-columns-and-when-i-try-to-browse-table-i-get-series-of-errors-like-warning-unable-to-parse-url-how-can-this-be-fixed">
  705. <span id="faq3-7"></span><h3>3.7 I have table with many (100+) columns and when I try to browse table I get series of errors like &#8220;Warning: unable to parse url&#8221;. How can this be fixed?<a class="headerlink" href="#i-have-table-with-many-100-columns-and-when-i-try-to-browse-table-i-get-series-of-errors-like-warning-unable-to-parse-url-how-can-this-be-fixed" title="Permalink to this headline"></a></h3>
  706. <p>Your table neither have a primary key nor an unique one, so we must
  707. use a long expression to identify this row. This causes problems to
  708. parse_url function. The workaround is to create a primary or unique
  709. key.</p>
  710. </div>
  711. <div class="section" id="i-cannot-use-clickable-html-forms-in-columns-where-i-put-a-mime-transformation-onto">
  712. <span id="faq3-8"></span><h3>3.8 I cannot use (clickable) HTML-forms in columns where I put a MIME-Transformation onto!<a class="headerlink" href="#i-cannot-use-clickable-html-forms-in-columns-where-i-put-a-mime-transformation-onto" title="Permalink to this headline"></a></h3>
  713. <p>Due to a surrounding form-container (for multi-row delete checkboxes),
  714. no nested forms can be put inside the table where phpMyAdmin displays
  715. the results. You can, however, use any form inside of a table if keep
  716. the parent form-container with the target to tbl_row_delete.php and
  717. just put your own input-elements inside. If you use a custom submit
  718. input field, the form will submit itself to the displaying page again,
  719. where you can validate the $HTTP_POST_VARS in a transformation. For
  720. a tutorial on how to effectively use transformations, see our <a class="reference external" href="http://www.phpmyadmin.net/home_page/docs.php">Link
  721. section</a> on the
  722. official phpMyAdmin-homepage.</p>
  723. </div>
  724. <div class="section" id="i-get-error-messages-when-using-sql-mode-ansi-for-the-mysql-server">
  725. <span id="faq3-9"></span><h3>3.9 I get error messages when using &#8220;&#8211;sql_mode=ANSI&#8221; for the MySQL server.<a class="headerlink" href="#i-get-error-messages-when-using-sql-mode-ansi-for-the-mysql-server" title="Permalink to this headline"></a></h3>
  726. <p>When MySQL is running in ANSI-compatibility mode, there are some major
  727. differences in how <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> is structured (see
  728. &lt;<a class="reference external" href="http://dev.mysql.com/doc/mysql/en/ansi-mode.html">http://dev.mysql.com/doc/mysql/en/ansi-mode.html</a>&gt;). Most important of all, the
  729. quote-character (&#8221;) is interpreted as an identifier quote character and not as
  730. a string quote character, which makes many internal phpMyAdmin operations into
  731. invalid <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> statements. There is no
  732. workaround to this behaviour. News to this item will be posted in <a class="reference external" href="https://sourceforge.net/p/phpmyadmin/bugs/1013/">Bug report
  733. #1013</a>.</p>
  734. </div>
  735. <div class="section" id="homonyms-and-no-primary-key-when-the-results-of-a-select-display-more-that-one-column-with-the-same-value-for-example-select-lastname-from-employees-where-firstname-like-a-and-two-smith-values-are-displayed-if-i-click-edit-i-cannot-be-sure-that-i-am-editing-the-intended-row">
  736. <span id="faq3-10"></span><h3>3.10 Homonyms and no primary key: When the results of a SELECT display more that one column with the same value (for example <tt class="docutils literal"><span class="pre">SELECT</span> <span class="pre">lastname</span> <span class="pre">from</span> <span class="pre">employees</span> <span class="pre">where</span> <span class="pre">firstname</span> <span class="pre">like</span> <span class="pre">'A%'</span></tt> and two &#8220;Smith&#8221; values are displayed), if I click Edit I cannot be sure that I am editing the intended row.<a class="headerlink" href="#homonyms-and-no-primary-key-when-the-results-of-a-select-display-more-that-one-column-with-the-same-value-for-example-select-lastname-from-employees-where-firstname-like-a-and-two-smith-values-are-displayed-if-i-click-edit-i-cannot-be-sure-that-i-am-editing-the-intended-row" title="Permalink to this headline"></a></h3>
  737. <p>Please make sure that your table has a primary key, so that phpMyAdmin
  738. can use it for the Edit and Delete links.</p>
  739. </div>
  740. <div class="section" id="the-number-of-rows-for-innodb-tables-is-not-correct">
  741. <span id="faq3-11"></span><h3>3.11 The number of rows for InnoDB tables is not correct.<a class="headerlink" href="#the-number-of-rows-for-innodb-tables-is-not-correct" title="Permalink to this headline"></a></h3>
  742. <p>phpMyAdmin uses a quick method to get the row count, and this method only
  743. returns an approximate count in the case of InnoDB tables. See
  744. <span class="target" id="index-21"></span><a class="reference internal" href="config.html#cfg_MaxExactCount"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['MaxExactCount']</span></tt></a> for a way to modify those results, but
  745. this could have a serious impact on performance.</p>
  746. </div>
  747. <div class="section" id="faq3-12">
  748. <span id="id8"></span><h3>3.12 (withdrawn).<a class="headerlink" href="#faq3-12" title="Permalink to this headline"></a></h3>
  749. </div>
  750. <div class="section" id="i-get-an-error-when-entering-use-followed-by-a-db-name-containing-an-hyphen">
  751. <span id="faq3-13"></span><h3>3.13 I get an error when entering <tt class="docutils literal"><span class="pre">USE</span></tt> followed by a db name containing an hyphen.<a class="headerlink" href="#i-get-an-error-when-entering-use-followed-by-a-db-name-containing-an-hyphen" title="Permalink to this headline"></a></h3>
  752. <p>The tests I have made with MySQL 5.1.49 shows that the API does not
  753. accept this syntax for the USE command.</p>
  754. </div>
  755. <div class="section" id="i-am-not-able-to-browse-a-table-when-i-don-t-have-the-right-to-select-one-of-the-columns">
  756. <span id="faq3-14"></span><h3>3.14 I am not able to browse a table when I don&#8217;t have the right to SELECT one of the columns.<a class="headerlink" href="#i-am-not-able-to-browse-a-table-when-i-don-t-have-the-right-to-select-one-of-the-columns" title="Permalink to this headline"></a></h3>
  757. <p>This has been a known limitation of phpMyAdmin since the beginning and
  758. it&#8217;s not likely to be solved in the future.</p>
  759. </div>
  760. <div class="section" id="faq3-15">
  761. <span id="id9"></span><h3>3.15 (withdrawn).<a class="headerlink" href="#faq3-15" title="Permalink to this headline"></a></h3>
  762. </div>
  763. <div class="section" id="faq3-16">
  764. <span id="id10"></span><h3>3.16 (withdrawn).<a class="headerlink" href="#faq3-16" title="Permalink to this headline"></a></h3>
  765. </div>
  766. <div class="section" id="faq3-17">
  767. <span id="id11"></span><h3>3.17 (withdrawn).<a class="headerlink" href="#faq3-17" title="Permalink to this headline"></a></h3>
  768. </div>
  769. <div class="section" id="when-i-import-a-csv-file-that-contains-multiple-tables-they-are-lumped-together-into-a-single-table">
  770. <span id="faq3-18"></span><h3>3.18 When I import a CSV file that contains multiple tables, they are lumped together into a single table.<a class="headerlink" href="#when-i-import-a-csv-file-that-contains-multiple-tables-they-are-lumped-together-into-a-single-table" title="Permalink to this headline"></a></h3>
  771. <p>There is no reliable way to differentiate tables in <a class="reference internal" href="glossary.html#term-csv"><em class="xref std std-term">CSV</em></a> format. For the
  772. time being, you will have to break apart <a class="reference internal" href="glossary.html#term-csv"><em class="xref std std-term">CSV</em></a> files containing multiple
  773. tables.</p>
  774. </div>
  775. <div class="section" id="when-i-import-a-file-and-have-phpmyadmin-determine-the-appropriate-data-structure-it-only-uses-int-decimal-and-varchar-types">
  776. <span id="faq3-19"></span><h3>3.19 When I import a file and have phpMyAdmin determine the appropriate data structure it only uses int, decimal, and varchar types.<a class="headerlink" href="#when-i-import-a-file-and-have-phpmyadmin-determine-the-appropriate-data-structure-it-only-uses-int-decimal-and-varchar-types" title="Permalink to this headline"></a></h3>
  777. <p>Currently, the import type-detection system can only assign these
  778. MySQL types to columns. In future, more will likely be added but for
  779. the time being you will have to edit the structure to your liking
  780. post-import. Also, you should note the fact that phpMyAdmin will use
  781. the size of the largest item in any given column as the column size
  782. for the appropriate type. If you know you will be adding larger items
  783. to that column then you should manually adjust the column sizes
  784. accordingly. This is done for the sake of efficiency.</p>
  785. </div>
  786. <div class="section" id="after-upgrading-some-bookmarks-are-gone-or-their-content-cannot-be-shown">
  787. <span id="faq3-20"></span><h3>3.20 After upgrading, some bookmarks are gone or their content cannot be shown.<a class="headerlink" href="#after-upgrading-some-bookmarks-are-gone-or-their-content-cannot-be-shown" title="Permalink to this headline"></a></h3>
  788. <p>At some point, the character set used to store bookmark content has changed.
  789. It&#8217;s better to recreate your bookmark from the newer phpMyAdmin version.</p>
  790. </div>
  791. </div>
  792. <div class="section" id="isps-multi-user-installations">
  793. <span id="faqmultiuser"></span><h2>ISPs, multi-user installations<a class="headerlink" href="#isps-multi-user-installations" title="Permalink to this headline"></a></h2>
  794. <div class="section" id="i-m-an-isp-can-i-setup-one-central-copy-of-phpmyadmin-or-do-i-need-to-install-it-for-each-customer">
  795. <span id="faq4-1"></span><h3>4.1 I&#8217;m an ISP. Can I setup one central copy of phpMyAdmin or do I need to install it for each customer?<a class="headerlink" href="#i-m-an-isp-can-i-setup-one-central-copy-of-phpmyadmin-or-do-i-need-to-install-it-for-each-customer" title="Permalink to this headline"></a></h3>
  796. <p>Since version 2.0.3, you can setup a central copy of phpMyAdmin for all your
  797. users. The development of this feature was kindly sponsored by NetCologne GmbH.
  798. This requires a properly setup MySQL user management and phpMyAdmin
  799. <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> or cookie authentication.</p>
  800. <div class="admonition-see-also admonition seealso">
  801. <p class="first admonition-title">See also</p>
  802. <p class="last"><a class="reference internal" href="setup.html#authentication-modes"><em>Using authentication modes</em></a></p>
  803. </div>
  804. </div>
  805. <div class="section" id="what-s-the-preferred-way-of-making-phpmyadmin-secure-against-evil-access">
  806. <span id="faq4-2"></span><h3>4.2 What&#8217;s the preferred way of making phpMyAdmin secure against evil access?<a class="headerlink" href="#what-s-the-preferred-way-of-making-phpmyadmin-secure-against-evil-access" title="Permalink to this headline"></a></h3>
  807. <p>This depends on your system. If you&#8217;re running a server which cannot be
  808. accessed by other people, it&#8217;s sufficient to use the directory protection
  809. bundled with your webserver (with Apache you can use <a class="reference internal" href="glossary.html#term-htaccess"><em class="xref std std-term">.htaccess</em></a> files,
  810. for example). If other people have telnet access to your server, you should use
  811. phpMyAdmin&#8217;s <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> or cookie authentication features.</p>
  812. <p>Suggestions:</p>
  813. <ul class="simple">
  814. <li>Your <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> file should be <tt class="docutils literal"><span class="pre">chmod</span> <span class="pre">660</span></tt>.</li>
  815. <li>All your phpMyAdmin files should be chown -R phpmy.apache, where phpmy
  816. is a user whose password is only known to you, and apache is the group
  817. under which Apache runs.</li>
  818. <li>Follow security recommendations for PHP and your webserver.</li>
  819. </ul>
  820. </div>
  821. <div class="section" id="i-get-errors-about-not-being-able-to-include-a-file-in-lang-or-in-libraries">
  822. <span id="faq4-3"></span><h3>4.3 I get errors about not being able to include a file in <em>/lang</em> or in <em>/libraries</em>.<a class="headerlink" href="#i-get-errors-about-not-being-able-to-include-a-file-in-lang-or-in-libraries" title="Permalink to this headline"></a></h3>
  823. <p>Check <tt class="file docutils literal"><span class="pre">php.ini</span></tt>, or ask your sysadmin to check it. The
  824. <tt class="docutils literal"><span class="pre">include_path</span></tt> must contain &#8221;.&#8221; somewhere in it, and
  825. <tt class="docutils literal"><span class="pre">open_basedir</span></tt>, if used, must contain &#8221;.&#8221; and &#8221;./lang&#8221; to allow
  826. normal operation of phpMyAdmin.</p>
  827. </div>
  828. <div class="section" id="phpmyadmin-always-gives-access-denied-when-using-http-authentication">
  829. <span id="faq4-4"></span><h3>4.4 phpMyAdmin always gives &#8220;Access denied&#8221; when using HTTP authentication.<a class="headerlink" href="#phpmyadmin-always-gives-access-denied-when-using-http-authentication" title="Permalink to this headline"></a></h3>
  830. <p>This could happen for several reasons:</p>
  831. <ul class="simple">
  832. <li><span class="target" id="index-22"></span><a class="reference internal" href="config.html#cfg_Servers_controluser"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['controluser']</span></tt></a> and/or <span class="target" id="index-23"></span><a class="reference internal" href="config.html#cfg_Servers_controlpass"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['controlpass']</span></tt></a> are wrong.</li>
  833. <li>The username/password you specify in the login dialog are invalid.</li>
  834. <li>You have already setup a security mechanism for the phpMyAdmin-
  835. directory, eg. a <a class="reference internal" href="glossary.html#term-htaccess"><em class="xref std std-term">.htaccess</em></a> file. This would interfere with phpMyAdmin&#8217;s
  836. authentication, so remove it.</li>
  837. </ul>
  838. </div>
  839. <div class="section" id="is-it-possible-to-let-users-create-their-own-databases">
  840. <span id="faq4-5"></span><h3>4.5 Is it possible to let users create their own databases?<a class="headerlink" href="#is-it-possible-to-let-users-create-their-own-databases" title="Permalink to this headline"></a></h3>
  841. <p>Starting with 2.2.5, in the user management page, you can enter a
  842. wildcard database name for a user (for example &#8220;joe%&#8221;), and put the
  843. privileges you want. For example, adding <tt class="docutils literal"><span class="pre">SELECT,</span> <span class="pre">INSERT,</span> <span class="pre">UPDATE,</span>
  844. <span class="pre">DELETE,</span> <span class="pre">CREATE,</span> <span class="pre">DROP,</span> <span class="pre">INDEX,</span> <span class="pre">ALTER</span></tt> would let a user create/manage
  845. his/her database(s).</p>
  846. </div>
  847. <div class="section" id="how-can-i-use-the-host-based-authentication-additions">
  848. <span id="faq4-6"></span><h3>4.6 How can I use the Host-based authentication additions?<a class="headerlink" href="#how-can-i-use-the-host-based-authentication-additions" title="Permalink to this headline"></a></h3>
  849. <p>If you have existing rules from an old <a class="reference internal" href="glossary.html#term-htaccess"><em class="xref std std-term">.htaccess</em></a> file, you can take them and
  850. add a username between the <tt class="docutils literal"><span class="pre">'deny'</span></tt>/<tt class="docutils literal"><span class="pre">'allow'</span></tt> and <tt class="docutils literal"><span class="pre">'from'</span></tt>
  851. strings. Using the username wildcard of <tt class="docutils literal"><span class="pre">'%'</span></tt> would be a major
  852. benefit here if your installation is suited to using it. Then you can
  853. just add those updated lines into the
  854. <span class="target" id="index-24"></span><a class="reference internal" href="config.html#cfg_Servers_AllowDeny_rules"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['AllowDeny']['rules']</span></tt></a> array.</p>
  855. <p>If you want a pre-made sample, you can try this fragment. It stops the
  856. &#8216;root&#8217; user from logging in from any networks other than the private
  857. network <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> blocks.</p>
  858. <div class="highlight-php"><div class="highlight"><pre><span class="c1">//block root from logging in except from the private networks</span>
  859. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;AllowDeny&#39;</span><span class="p">][</span><span class="s1">&#39;order&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="s1">&#39;deny,allow&#39;</span><span class="p">;</span>
  860. <span class="nv">$cfg</span><span class="p">[</span><span class="s1">&#39;Servers&#39;</span><span class="p">][</span><span class="nv">$i</span><span class="p">][</span><span class="s1">&#39;AllowDeny&#39;</span><span class="p">][</span><span class="s1">&#39;rules&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span>
  861. <span class="s1">&#39;deny root from all&#39;</span><span class="p">,</span>
  862. <span class="s1">&#39;allow root from localhost&#39;</span><span class="p">,</span>
  863. <span class="s1">&#39;allow root from 10.0.0.0/8&#39;</span><span class="p">,</span>
  864. <span class="s1">&#39;allow root from 192.168.0.0/16&#39;</span><span class="p">,</span>
  865. <span class="s1">&#39;allow root from 172.16.0.0/12&#39;</span><span class="p">,</span>
  866. <span class="p">);</span>
  867. </pre></div>
  868. </div>
  869. </div>
  870. <div class="section" id="authentication-window-is-displayed-more-than-once-why">
  871. <span id="faq4-7"></span><h3>4.7 Authentication window is displayed more than once, why?<a class="headerlink" href="#authentication-window-is-displayed-more-than-once-why" title="Permalink to this headline"></a></h3>
  872. <p>This happens if you are using a <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> to start phpMyAdmin which is
  873. different than the one set in your <span class="target" id="index-25"></span><a class="reference internal" href="config.html#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a>. For
  874. example, a missing &#8220;www&#8221;, or entering with an <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> address while a domain
  875. name is defined in the config file.</p>
  876. </div>
  877. <div class="section" id="which-parameters-can-i-use-in-the-url-that-starts-phpmyadmin">
  878. <span id="faq4-8"></span><h3>4.8 Which parameters can I use in the URL that starts phpMyAdmin?<a class="headerlink" href="#which-parameters-can-i-use-in-the-url-that-starts-phpmyadmin" title="Permalink to this headline"></a></h3>
  879. <p>When starting phpMyAdmin, you can use the <tt class="docutils literal"><span class="pre">db</span></tt>, <tt class="docutils literal"><span class="pre">pma_username</span></tt>,
  880. <tt class="docutils literal"><span class="pre">pma_password</span></tt> and <tt class="docutils literal"><span class="pre">server</span></tt> parameters. This last one can contain
  881. either the numeric host index (from <tt class="docutils literal"><span class="pre">$i</span></tt> of the configuration file)
  882. or one of the host names present in the configuration file. Using
  883. <tt class="docutils literal"><span class="pre">pma_username</span></tt> and <tt class="docutils literal"><span class="pre">pma_password</span></tt> has been tested along with the
  884. usage of &#8216;cookie&#8217; <tt class="docutils literal"><span class="pre">auth_type</span></tt>.</p>
  885. </div>
  886. </div>
  887. <div class="section" id="browsers-or-client-os">
  888. <span id="faqbrowsers"></span><h2>Browsers or client OS<a class="headerlink" href="#browsers-or-client-os" title="Permalink to this headline"></a></h2>
  889. <div class="section" id="i-get-an-out-of-memory-error-and-my-controls-are-non-functional-when-trying-to-create-a-table-with-more-than-14-columns">
  890. <span id="faq5-1"></span><h3>5.1 I get an out of memory error, and my controls are non-functional, when trying to create a table with more than 14 columns.<a class="headerlink" href="#i-get-an-out-of-memory-error-and-my-controls-are-non-functional-when-trying-to-create-a-table-with-more-than-14-columns" title="Permalink to this headline"></a></h3>
  891. <p>We could reproduce this problem only under Win98/98SE. Testing under
  892. WinNT4 or Win2K, we could easily create more than 60 columns. A
  893. workaround is to create a smaller number of columns, then come back to
  894. your table properties and add the other columns.</p>
  895. </div>
  896. <div class="section" id="with-xitami-2-5b4-phpmyadmin-won-t-process-form-fields">
  897. <span id="faq5-2"></span><h3>5.2 With Xitami 2.5b4, phpMyAdmin won&#8217;t process form fields.<a class="headerlink" href="#with-xitami-2-5b4-phpmyadmin-won-t-process-form-fields" title="Permalink to this headline"></a></h3>
  898. <p>This is not a phpMyAdmin problem but a Xitami known bug: you&#8217;ll face
  899. it with each script/website that use forms. Upgrade or downgrade your
  900. Xitami server.</p>
  901. </div>
  902. <div class="section" id="i-have-problems-dumping-tables-with-konqueror-phpmyadmin-2-2-2">
  903. <span id="faq5-3"></span><h3>5.3 I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2).<a class="headerlink" href="#i-have-problems-dumping-tables-with-konqueror-phpmyadmin-2-2-2" title="Permalink to this headline"></a></h3>
  904. <p>With Konqueror 2.1.1: plain dumps, zip and GZip dumps work ok, except
  905. that the proposed file name for the dump is always &#8216;tbl_dump.php&#8217;.
  906. Bzip2 dumps don&#8217;t seem to work. With Konqueror 2.2.1: plain dumps
  907. work; zip dumps are placed into the user&#8217;s temporary directory, so
  908. they must be moved before closing Konqueror, or else they disappear.
  909. GZip dumps give an error message. Testing needs to be done for
  910. Konqueror 2.2.2.</p>
  911. </div>
  912. <div class="section" id="i-can-t-use-the-cookie-authentication-mode-because-internet-explorer-never-stores-the-cookies">
  913. <span id="faq5-4"></span><h3>5.4 I can&#8217;t use the cookie authentication mode because Internet Explorer never stores the cookies.<a class="headerlink" href="#i-can-t-use-the-cookie-authentication-mode-because-internet-explorer-never-stores-the-cookies" title="Permalink to this headline"></a></h3>
  914. <p>MS Internet Explorer seems to be really buggy about cookies, at least
  915. till version 6.</p>
  916. </div>
  917. <div class="section" id="in-internet-explorer-5-0-i-get-javascript-errors-when-browsing-my-rows">
  918. <span id="faq5-5"></span><h3>5.5 In Internet Explorer 5.0, I get JavaScript errors when browsing my rows.<a class="headerlink" href="#in-internet-explorer-5-0-i-get-javascript-errors-when-browsing-my-rows" title="Permalink to this headline"></a></h3>
  919. <p>Upgrade to at least Internet Explorer 5.5 SP2.</p>
  920. </div>
  921. <div class="section" id="in-internet-explorer-5-0-5-5-or-6-0-i-get-an-error-like-page-not-found-when-trying-to-modify-a-row-in-a-table-with-many-columns-or-with-a-text-column">
  922. <span id="faq5-6"></span><h3>5.6 In Internet Explorer 5.0, 5.5 or 6.0, I get an error (like &#8220;Page not found&#8221;) when trying to modify a row in a table with many columns, or with a text column.<a class="headerlink" href="#in-internet-explorer-5-0-5-5-or-6-0-i-get-an-error-like-page-not-found-when-trying-to-modify-a-row-in-a-table-with-many-columns-or-with-a-text-column" title="Permalink to this headline"></a></h3>
  923. <p>Your table neither have a primary key nor an unique one, so we must use a long
  924. <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> to identify this row. There is a limit on the length of the
  925. <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> in those browsers, and this not happen in Netscape, for example.
  926. The workaround is to create a primary or unique key, or use another browser.</p>
  927. </div>
  928. <div class="section" id="i-refresh-reload-my-browser-and-come-back-to-the-welcome-page">
  929. <span id="faq5-7"></span><h3>5.7 I refresh (reload) my browser, and come back to the welcome page.<a class="headerlink" href="#i-refresh-reload-my-browser-and-come-back-to-the-welcome-page" title="Permalink to this headline"></a></h3>
  930. <p>Some browsers support right-clicking into the frame you want to
  931. refresh, just do this in the right frame.</p>
  932. </div>
  933. <div class="section" id="with-mozilla-0-9-7-i-have-problems-sending-a-query-modified-in-the-query-box">
  934. <span id="faq5-8"></span><h3>5.8 With Mozilla 0.9.7 I have problems sending a query modified in the query box.<a class="headerlink" href="#with-mozilla-0-9-7-i-have-problems-sending-a-query-modified-in-the-query-box" title="Permalink to this headline"></a></h3>
  935. <p>Looks like a Mozilla bug: 0.9.6 was OK. We will keep an eye on future
  936. Mozilla versions.</p>
  937. </div>
  938. <div class="section" id="with-mozilla-0-9-to-1-0-and-netscape-7-0-pr1-i-can-t-type-a-whitespace-in-the-sql-query-edit-area-the-page-scrolls-down">
  939. <span id="faq5-9"></span><h3>5.9 With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can&#8217;t type a whitespace in the SQL-Query edit area: the page scrolls down.<a class="headerlink" href="#with-mozilla-0-9-to-1-0-and-netscape-7-0-pr1-i-can-t-type-a-whitespace-in-the-sql-query-edit-area-the-page-scrolls-down" title="Permalink to this headline"></a></h3>
  940. <p>This is a Mozilla bug (see bug #26882 at <a class="reference external" href="http://bugzilla.mozilla.org/">BugZilla</a>).</p>
  941. </div>
  942. <div class="section" id="with-netscape-4-75-i-get-empty-rows-between-each-row-of-data-in-a-csv-exported-file">
  943. <span id="faq5-10"></span><h3>5.10 With Netscape 4.75 I get empty rows between each row of data in a CSV exported file.<a class="headerlink" href="#with-netscape-4-75-i-get-empty-rows-between-each-row-of-data-in-a-csv-exported-file" title="Permalink to this headline"></a></h3>
  944. <p>This is a known Netscape 4.75 bug: it adds some line feeds when
  945. exporting data in octet-stream mode. Since we can&#8217;t detect the
  946. specific Netscape version, we cannot workaround this bug.</p>
  947. </div>
  948. <div class="section" id="extended-ascii-characters-like-german-umlauts-are-displayed-wrong">
  949. <span id="faq5-11"></span><h3>5.11 Extended-ASCII characters like German umlauts are displayed wrong.<a class="headerlink" href="#extended-ascii-characters-like-german-umlauts-are-displayed-wrong" title="Permalink to this headline"></a></h3>
  950. <p>Please ensure that you have set your browser&#8217;s character set to the
  951. one of the language file you have selected on phpMyAdmin&#8217;s start page.
  952. Alternatively, you can try the auto detection mode that is supported
  953. by the recent versions of the most browsers.</p>
  954. </div>
  955. <div class="section" id="mac-os-x-safari-browser-changes-special-characters-to">
  956. <span id="faq5-12"></span><h3>5.12 Mac OS X Safari browser changes special characters to &#8221;?&#8221;.<a class="headerlink" href="#mac-os-x-safari-browser-changes-special-characters-to" title="Permalink to this headline"></a></h3>
  957. <p>This issue has been reported by a <a class="reference internal" href="glossary.html#term-mac-os-x"><em class="xref std std-term">Mac OS X</em></a> user, who adds that Chimera,
  958. Netscape and Mozilla do not have this problem.</p>
  959. </div>
  960. <div class="section" id="with-internet-explorer-5-5-or-6-and-http-authentication-type-i-cannot-manage-two-servers-i-log-in-to-the-first-one-then-the-other-one-but-if-i-switch-back-to-the-first-i-have-to-log-in-on-each-operation">
  961. <span id="faq5-13"></span><h3>5.13 With Internet Explorer 5.5 or 6, and HTTP authentication type, I cannot manage two servers: I log in to the first one, then the other one, but if I switch back to the first, I have to log in on each operation.<a class="headerlink" href="#with-internet-explorer-5-5-or-6-and-http-authentication-type-i-cannot-manage-two-servers-i-log-in-to-the-first-one-then-the-other-one-but-if-i-switch-back-to-the-first-i-have-to-log-in-on-each-operation" title="Permalink to this headline"></a></h3>
  962. <p>This is a bug in Internet Explorer, other browsers do not behave this
  963. way.</p>
  964. </div>
  965. <div class="section" id="using-opera6-i-can-manage-to-get-to-the-authentication-but-nothing-happens-after-that-only-a-blank-screen">
  966. <span id="faq5-14"></span><h3>5.14 Using Opera6, I can manage to get to the authentication, but nothing happens after that, only a blank screen.<a class="headerlink" href="#using-opera6-i-can-manage-to-get-to-the-authentication-but-nothing-happens-after-that-only-a-blank-screen" title="Permalink to this headline"></a></h3>
  967. <p>Please upgrade to Opera7 at least.</p>
  968. </div>
  969. <div class="section" id="i-have-display-problems-with-safari">
  970. <span id="faq5-15"></span><h3>5.15 I have display problems with Safari.<a class="headerlink" href="#i-have-display-problems-with-safari" title="Permalink to this headline"></a></h3>
  971. <p>Please upgrade to at least version 1.2.3.</p>
  972. </div>
  973. <div class="section" id="with-internet-explorer-i-get-access-is-denied-javascript-errors-or-i-cannot-make-phpmyadmin-work-under-windows">
  974. <span id="faq5-16"></span><h3>5.16 With Internet Explorer, I get &#8220;Access is denied&#8221; Javascript errors. Or I cannot make phpMyAdmin work under Windows.<a class="headerlink" href="#with-internet-explorer-i-get-access-is-denied-javascript-errors-or-i-cannot-make-phpmyadmin-work-under-windows" title="Permalink to this headline"></a></h3>
  975. <p>Please check the following points:</p>
  976. <ul class="simple">
  977. <li>Maybe you have defined your <span class="target" id="index-26"></span><a class="reference internal" href="config.html#cfg_PmaAbsoluteUri"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['PmaAbsoluteUri']</span></tt></a> setting in
  978. <tt class="file docutils literal"><span class="pre">config.inc.php</span></tt> to an <a class="reference internal" href="glossary.html#term-ip"><em class="xref std std-term">IP</em></a> address and you are starting phpMyAdmin
  979. with a <a class="reference internal" href="glossary.html#term-url"><em class="xref std std-term">URL</em></a> containing a domain name, or the reverse situation.</li>
  980. <li>Security settings in IE and/or Microsoft Security Center are too high,
  981. thus blocking scripts execution.</li>
  982. <li>The Windows Firewall is blocking Apache and MySQL. You must allow
  983. <a class="reference internal" href="glossary.html#term-http"><em class="xref std std-term">HTTP</em></a> ports (80 or 443) and MySQL
  984. port (usually 3306) in the &#8220;in&#8221; and &#8220;out&#8221; directions.</li>
  985. </ul>
  986. </div>
  987. <div class="section" id="with-firefox-i-cannot-delete-rows-of-data-or-drop-a-database">
  988. <span id="faq5-17"></span><h3>5.17 With Firefox, I cannot delete rows of data or drop a database.<a class="headerlink" href="#with-firefox-i-cannot-delete-rows-of-data-or-drop-a-database" title="Permalink to this headline"></a></h3>
  989. <p>Many users have confirmed that the Tabbrowser Extensions plugin they
  990. installed in their Firefox is causing the problem.</p>
  991. </div>
  992. <div class="section" id="with-konqueror-4-2-x-an-invalid-limit-clause-is-generated-when-i-browse-a-table">
  993. <span id="faq5-18"></span><h3>5.18 With Konqueror 4.2.x an invalid <tt class="docutils literal"><span class="pre">LIMIT</span></tt> clause is generated when I browse a table.<a class="headerlink" href="#with-konqueror-4-2-x-an-invalid-limit-clause-is-generated-when-i-browse-a-table" title="Permalink to this headline"></a></h3>
  994. <p>This happens only when both of these conditions are met: using the
  995. <tt class="docutils literal"><span class="pre">http</span></tt> authentication mode and <tt class="docutils literal"><span class="pre">register_globals</span></tt> being set to
  996. <tt class="docutils literal"><span class="pre">On</span></tt> on the server. It seems to be a browser-specific problem;
  997. meanwhile use the <tt class="docutils literal"><span class="pre">cookie</span></tt> authentication mode.</p>
  998. </div>
  999. <div class="section" id="i-get-javascript-errors-in-my-browser">
  1000. <span id="faq5-19"></span><h3>5.19 I get JavaScript errors in my browser.<a class="headerlink" href="#i-get-javascript-errors-in-my-browser" title="Permalink to this headline"></a></h3>
  1001. <p>Issues have been reported with some combinations of browser
  1002. extensions. To troubleshoot, disable all extensions then clear your
  1003. browser cache to see if the problem goes away.</p>
  1004. </div>
  1005. </div>
  1006. <div class="section" id="using-phpmyadmin">
  1007. <span id="faqusing"></span><h2>Using phpMyAdmin<a class="headerlink" href="#using-phpmyadmin" title="Permalink to this headline"></a></h2>
  1008. <div class="section" id="i-can-t-insert-new-rows-into-a-table-i-can-t-create-a-table-mysql-brings-up-a-sql-error">
  1009. <span id="faq6-1"></span><h3>6.1 I can&#8217;t insert new rows into a table / I can&#8217;t create a table - MySQL brings up a SQL error.<a class="headerlink" href="#i-can-t-insert-new-rows-into-a-table-i-can-t-create-a-table-mysql-brings-up-a-sql-error" title="Permalink to this headline"></a></h3>
  1010. <p>Examine the <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> error with care.
  1011. Often the problem is caused by specifying a wrong column-type. Common
  1012. errors include:</p>
  1013. <ul class="simple">
  1014. <li>Using <tt class="docutils literal"><span class="pre">VARCHAR</span></tt> without a size argument</li>
  1015. <li>Using <tt class="docutils literal"><span class="pre">TEXT</span></tt> or <tt class="docutils literal"><span class="pre">BLOB</span></tt> with a size argument</li>
  1016. </ul>
  1017. <p>Also, look at the syntax chapter in the MySQL manual to confirm that
  1018. your syntax is correct.</p>
  1019. </div>
  1020. <div class="section" id="when-i-create-a-table-i-set-an-index-for-two-columns-and-phpmyadmin-generates-only-one-index-with-those-two-columns">
  1021. <span id="faq6-2"></span><h3>6.2 When I create a table, I set an index for two columns and phpMyAdmin generates only one index with those two columns.<a class="headerlink" href="#when-i-create-a-table-i-set-an-index-for-two-columns-and-phpmyadmin-generates-only-one-index-with-those-two-columns" title="Permalink to this headline"></a></h3>
  1022. <p>This is the way to create a multi-columns index. If you want two
  1023. indexes, create the first one when creating the table, save, then
  1024. display the table properties and click the Index link to create the
  1025. other index.</p>
  1026. </div>
  1027. <div class="section" id="how-can-i-insert-a-null-value-into-my-table">
  1028. <span id="faq6-3"></span><h3>6.3 How can I insert a null value into my table?<a class="headerlink" href="#how-can-i-insert-a-null-value-into-my-table" title="Permalink to this headline"></a></h3>
  1029. <p>Since version 2.2.3, you have a checkbox for each column that can be
  1030. null. Before 2.2.3, you had to enter &#8220;null&#8221;, without the quotes, as
  1031. the column&#8217;s value. Since version 2.5.5, you have to use the checkbox
  1032. to get a real NULL value, so if you enter &#8220;NULL&#8221; this means you want a
  1033. literal NULL in the column, and not a NULL value (this works in PHP4).</p>
  1034. </div>
  1035. <div class="section" id="how-can-i-backup-my-database-or-table">
  1036. <span id="faq6-4"></span><h3>6.4 How can I backup my database or table?<a class="headerlink" href="#how-can-i-backup-my-database-or-table" title="Permalink to this headline"></a></h3>
  1037. <p>Click on a database or table name in the navigation panel, the properties will
  1038. be displayed. Then on the menu, click &#8220;Export&#8221;, you can dump the structure, the
  1039. data, or both. This will generate standard <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> statements that can be
  1040. used to recreate your database/table. You will need to choose &#8220;Save as file&#8221;,
  1041. so that phpMyAdmin can transmit the resulting dump to your station. Depending
  1042. on your PHP configuration, you will see options to compress the dump. See also
  1043. the <span class="target" id="index-27"></span><a class="reference internal" href="config.html#cfg_ExecTimeLimit"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ExecTimeLimit']</span></tt></a> configuration variable. For
  1044. additional help on this subject, look for the word &#8220;dump&#8221; in this document.</p>
  1045. </div>
  1046. <div class="section" id="how-can-i-restore-upload-my-database-or-table-using-a-dump-how-can-i-run-a-sql-file">
  1047. <span id="faq6-5"></span><h3>6.5 How can I restore (upload) my database or table using a dump? How can I run a &#8221;.sql&#8221; file?<a class="headerlink" href="#how-can-i-restore-upload-my-database-or-table-using-a-dump-how-can-i-run-a-sql-file" title="Permalink to this headline"></a></h3>
  1048. <p>Click on a database name in the navigation panel, the properties will
  1049. be displayed. Select &#8220;Import&#8221; from the list of tabs in the righthand
  1050. frame (or &#8220;<a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a>&#8221; if your phpMyAdmin
  1051. version is previous to 2.7.0). In the &#8220;Location of the text file&#8221;
  1052. section, type in the path to your dump filename, or use the Browse
  1053. button. Then click Go. With version 2.7.0, the import engine has been
  1054. rewritten, if possible it is suggested that you upgrade to take
  1055. advantage of the new features. For additional help on this subject,
  1056. look for the word &#8220;upload&#8221; in this document.</p>
  1057. </div>
  1058. <div class="section" id="how-can-i-use-the-relation-table-in-query-by-example">
  1059. <span id="faq6-6"></span><h3>6.6 How can I use the relation table in Query-by-example?<a class="headerlink" href="#how-can-i-use-the-relation-table-in-query-by-example" title="Permalink to this headline"></a></h3>
  1060. <p>Here is an example with the tables persons, towns and countries, all
  1061. located in the database &#8220;mydb&#8221;. If you don&#8217;t have a <tt class="docutils literal"><span class="pre">pma__relation</span></tt>
  1062. table, create it as explained in the configuration section. Then
  1063. create the example tables:</p>
  1064. <div class="highlight-mysql"><div class="highlight"><pre><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="nf">REL_countries</span> <span class="p">(</span>
  1065. <span class="n">country_code</span> <span class="kt">char</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
  1066. <span class="n">description</span> <span class="kt">varchar</span><span class="p">(</span><span class="mi">10</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
  1067. <span class="k">PRIMARY</span> <span class="k">KEY</span> <span class="p">(</span><span class="n">country_code</span><span class="p">)</span>
  1068. <span class="p">)</span> <span class="n">TYPE</span><span class="o">=</span><span class="n">MyISAM</span><span class="p">;</span>
  1069. <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">REL_countries</span> <span class="k">VALUES</span> <span class="p">(</span><span class="s1">&#39;C&#39;</span><span class="p">,</span> <span class="s1">&#39;Canada&#39;</span><span class="p">);</span>
  1070. <span class="k">CREATE</span> <span class="k">TABLE</span> <span class="nf">REL_persons</span> <span class="p">(</span>
  1071. <span class="n">id</span> <span class="kt">tinyint</span><span class="p">(</span><span class="mi">4</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="kp">auto_increment</span><span class="p">,</span>
  1072. <span class="n">person_name</span> <span class="kt">varchar</span><span class="p">(</span><span class="mi">32</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
  1073. <span class="n">town_code</span> <span class="kt">varchar</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="k">default</span> <span class="s1">&#39;0&#39;</span><span class="p">,</span>
  1074. <span class="n">country_code</span> <span class="kt">char</span><span class="p">(</span><span class="mi">1</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
  1075. <span class="k">PRIMARY</span> <span class="k">KEY</span> <span class="p">(</span><span class="n">id</span><span class="p">)</span>
  1076. <span class="p">)</span> <span class="n">TYPE</span><span class="o">=</span><span class="n">MyISAM</span><span class="p">;</span>
  1077. <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">REL_persons</span> <span class="k">VALUES</span> <span class="p">(</span><span class="mi">11</span><span class="p">,</span> <span class="s1">&#39;Marc&#39;</span><span class="p">,</span> <span class="s1">&#39;S&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">);</span>
  1078. <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">REL_persons</span> <span class="k">VALUES</span> <span class="p">(</span><span class="mi">15</span><span class="p">,</span> <span class="s1">&#39;Paul&#39;</span><span class="p">,</span> <span class="s1">&#39;S&#39;</span><span class="p">,</span> <span class="s1">&#39;C&#39;</span><span class="p">);</span>
  1079. <span class="k">CREATE</span> <span class="k">TABLE</span> <span class="nf">REL_towns</span> <span class="p">(</span>
  1080. <span class="n">town_code</span> <span class="kt">varchar</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;0&#39;</span><span class="p">,</span>
  1081. <span class="n">description</span> <span class="kt">varchar</span><span class="p">(</span><span class="mi">30</span><span class="p">)</span> <span class="k">NOT</span> <span class="no">NULL</span> <span class="k">default</span> <span class="s1">&#39;&#39;</span><span class="p">,</span>
  1082. <span class="k">PRIMARY</span> <span class="k">KEY</span> <span class="p">(</span><span class="n">town_code</span><span class="p">)</span>
  1083. <span class="p">)</span> <span class="n">TYPE</span><span class="o">=</span><span class="n">MyISAM</span><span class="p">;</span>
  1084. <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">REL_towns</span> <span class="k">VALUES</span> <span class="p">(</span><span class="s1">&#39;S&#39;</span><span class="p">,</span> <span class="s1">&#39;Sherbrooke&#39;</span><span class="p">);</span>
  1085. <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">REL_towns</span> <span class="k">VALUES</span> <span class="p">(</span><span class="s1">&#39;M&#39;</span><span class="p">,</span> <span class="s1">&#39;Montréal&#39;</span><span class="p">);</span>
  1086. </pre></div>
  1087. </div>
  1088. <p>To setup appropriate links and display information:</p>
  1089. <ul class="simple">
  1090. <li>on table &#8220;REL_persons&#8221; click Structure, then Relation view</li>
  1091. <li>for &#8220;town_code&#8221;, choose from dropdowns, &#8220;mydb&#8221;, &#8220;REL_towns&#8221;, &#8220;code&#8221;
  1092. for foreign database, table and column respectively</li>
  1093. <li>for &#8220;country_code&#8221;, choose from dropdowns, &#8220;mydb&#8221;, &#8220;REL_countries&#8221;,
  1094. &#8220;country_code&#8221; for foreign database, table and column respectively</li>
  1095. <li>on table &#8220;REL_towns&#8221; click Structure, then Relation view</li>
  1096. <li>in &#8220;Choose column to display&#8221;, choose &#8220;description&#8221;</li>
  1097. <li>repeat the two previous steps for table &#8220;REL_countries&#8221;</li>
  1098. </ul>
  1099. <p>Then test like this:</p>
  1100. <ul class="simple">
  1101. <li>Click on your db name in the navigation panel</li>
  1102. <li>Choose &#8220;Query&#8221;</li>
  1103. <li>Use tables: persons, towns, countries</li>
  1104. <li>Click &#8220;Update query&#8221;</li>
  1105. <li>In the columns row, choose persons.person_name and click the &#8220;Show&#8221;
  1106. tickbox</li>
  1107. <li>Do the same for towns.description and countries.descriptions in the
  1108. other 2 columns</li>
  1109. <li>Click &#8220;Update query&#8221; and you will see in the query box that the
  1110. correct joins have been generated</li>
  1111. <li>Click &#8220;Submit query&#8221;</li>
  1112. </ul>
  1113. </div>
  1114. <div class="section" id="how-can-i-use-the-display-column-feature">
  1115. <span id="faqdisplay"></span><h3>6.7 How can I use the &#8220;display column&#8221; feature?<a class="headerlink" href="#how-can-i-use-the-display-column-feature" title="Permalink to this headline"></a></h3>
  1116. <p>Starting from the previous example, create the <tt class="docutils literal"><span class="pre">pma__table_info</span></tt> as
  1117. explained in the configuration section, then browse your persons
  1118. table, and move the mouse over a town code or country code. See also
  1119. <a class="reference internal" href="#faq6-21"><em>6.21 In edit/insert mode, how can I see a list of possible values for a column, based on some foreign table?</em></a> for an additional feature that &#8220;display column&#8221;
  1120. enables: drop-down list of possible values.</p>
  1121. </div>
  1122. <div class="section" id="how-can-i-produce-a-pdf-schema-of-my-database">
  1123. <span id="faqpdf"></span><h3>6.8 How can I produce a PDF schema of my database?<a class="headerlink" href="#how-can-i-produce-a-pdf-schema-of-my-database" title="Permalink to this headline"></a></h3>
  1124. <p>First the configuration variables &#8220;relation&#8221;, &#8220;table_coords&#8221; and
  1125. &#8220;pdf_pages&#8221; have to be filled in. Then you need to think about your
  1126. schema layout. Which tables will go on which pages?</p>
  1127. <ul class="simple">
  1128. <li>Select your database in the navigation panel.</li>
  1129. <li>Choose &#8220;Operations&#8221; in the navigation bar at the top.</li>
  1130. <li>Choose &#8220;Edit <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> Pages&#8221; near the
  1131. bottom of the page.</li>
  1132. <li>Enter a name for the first <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> page
  1133. and click Go. If you like, you can use the &#8220;automatic layout,&#8221; which
  1134. will put all your linked tables onto the new page.</li>
  1135. <li>Select the name of the new page (making sure the Edit radio button is
  1136. selected) and click Go.</li>
  1137. <li>Select a table from the list, enter its coordinates and click Save.
  1138. Coordinates are relative; your diagram will be automatically scaled to
  1139. fit the page. When initially placing tables on the page, just pick any
  1140. coordinates &#8211; say, 50x50. After clicking Save, you can then use the
  1141. <a class="reference internal" href="#wysiwyg"><em>6.28 How can I easily edit relational schema for export?</em></a> to position the element correctly.</li>
  1142. <li>When you&#8217;d like to look at your <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a>, first be sure to click the Save
  1143. button beneath the list of tables and coordinates, to save any changes you
  1144. made there. Then scroll all the way down, select the <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a> options you
  1145. want, and click Go.</li>
  1146. <li>Internet Explorer for Windows may suggest an incorrect filename when
  1147. you try to save a generated <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a>.
  1148. When saving a generated <a class="reference internal" href="glossary.html#term-pdf"><em class="xref std std-term">PDF</em></a>, be
  1149. sure that the filename ends in &#8221;.pdf&#8221;, for example &#8220;schema.pdf&#8221;.
  1150. Browsers on other operating systems, and other browsers on Windows, do
  1151. not have this problem.</li>
  1152. </ul>
  1153. </div>
  1154. <div class="section" id="phpmyadmin-is-changing-the-type-of-one-of-my-columns">
  1155. <span id="faq6-9"></span><h3>6.9 phpMyAdmin is changing the type of one of my columns!<a class="headerlink" href="#phpmyadmin-is-changing-the-type-of-one-of-my-columns" title="Permalink to this headline"></a></h3>
  1156. <p>No, it&#8217;s MySQL that is doing <a class="reference external" href="http://dev.mysql.com/doc/en/silent-column-changes.html">silent column type changing</a>.</p>
  1157. </div>
  1158. <div class="section" id="when-creating-a-privilege-what-happens-with-underscores-in-the-database-name">
  1159. <span id="underscore"></span><h3>6.10 When creating a privilege, what happens with underscores in the database name?<a class="headerlink" href="#when-creating-a-privilege-what-happens-with-underscores-in-the-database-name" title="Permalink to this headline"></a></h3>
  1160. <p>If you do not put a backslash before the underscore, this is a
  1161. wildcard grant, and the underscore means &#8220;any character&#8221;. So, if the
  1162. database name is &#8220;john_db&#8221;, the user would get rights to john1db,
  1163. john2db ... If you put a backslash before the underscore, it means
  1164. that the database name will have a real underscore.</p>
  1165. </div>
  1166. <div class="section" id="what-is-the-curious-symbol-o-in-the-statistics-pages">
  1167. <span id="faq6-11"></span><h3>6.11 What is the curious symbol ø in the statistics pages?<a class="headerlink" href="#what-is-the-curious-symbol-o-in-the-statistics-pages" title="Permalink to this headline"></a></h3>
  1168. <p>It means &#8220;average&#8221;.</p>
  1169. </div>
  1170. <div class="section" id="i-want-to-understand-some-export-options">
  1171. <span id="faqexport"></span><h3>6.12 I want to understand some Export options.<a class="headerlink" href="#i-want-to-understand-some-export-options" title="Permalink to this headline"></a></h3>
  1172. <p><strong>Structure:</strong></p>
  1173. <ul class="simple">
  1174. <li>&#8220;Add DROP TABLE&#8221; will add a line telling MySQL to <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/drop-table.html">drop the table</a>, if it already
  1175. exists during the import. It does NOT drop the table after your
  1176. export, it only affects the import file.</li>
  1177. <li>&#8220;If Not Exists&#8221; will only create the table if it doesn&#8217;t exist.
  1178. Otherwise, you may get an error if the table name exists but has a
  1179. different structure.</li>
  1180. <li>&#8220;Add AUTO_INCREMENT value&#8221; ensures that AUTO_INCREMENT value (if
  1181. any) will be included in backup.</li>
  1182. <li>&#8220;Enclose table and column names with backquotes&#8221; ensures that column
  1183. and table names formed with special characters are protected.</li>
  1184. <li>&#8220;Add into comments&#8221; includes column comments, relations, and MIME
  1185. types set in the pmadb in the dump as <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> comments
  1186. (<em>/* xxx */</em>).</li>
  1187. </ul>
  1188. <p><strong>Data:</strong></p>
  1189. <ul class="simple">
  1190. <li>&#8220;Complete inserts&#8221; adds the column names on every INSERT command, for
  1191. better documentation (but resulting file is bigger).</li>
  1192. <li>&#8220;Extended inserts&#8221; provides a shorter dump file by using only once the
  1193. INSERT verb and the table name.</li>
  1194. <li>&#8220;Delayed inserts&#8221; are best explained in the <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/insert-delayed.html">MySQL manual - INSERT DELAYED Syntax</a>.</li>
  1195. <li>&#8220;Ignore inserts&#8221; treats errors as a warning instead. Again, more info
  1196. is provided in the <a class="reference external" href="http://dev.mysql.com/doc/mysql/en/insert.html">MySQL manual - INSERT Syntax</a>, but basically with
  1197. this selected, invalid values are adjusted and inserted rather than
  1198. causing the entire statement to fail.</li>
  1199. </ul>
  1200. </div>
  1201. <div class="section" id="i-would-like-to-create-a-database-with-a-dot-in-its-name">
  1202. <span id="faq6-13"></span><h3>6.13 I would like to create a database with a dot in its name.<a class="headerlink" href="#i-would-like-to-create-a-database-with-a-dot-in-its-name" title="Permalink to this headline"></a></h3>
  1203. <p>This is a bad idea, because in MySQL the syntax &#8220;database.table&#8221; is
  1204. the normal way to reference a database and table name. Worse, MySQL
  1205. will usually let you create a database with a dot, but then you cannot
  1206. work with it, nor delete it.</p>
  1207. </div>
  1208. <div class="section" id="how-do-i-set-up-the-sql-validator">
  1209. <span id="faqsqlvalidator"></span><h3>6.14 How do I set up the SQL Validator?<a class="headerlink" href="#how-do-i-set-up-the-sql-validator" title="Permalink to this headline"></a></h3>
  1210. <p>To use SQL Validator, you need PHP with <a class="reference internal" href="glossary.html#term-xml"><em class="xref std std-term">XML</em></a>, <a class="reference internal" href="glossary.html#term-pcre"><em class="xref std std-term">PCRE</em></a> and
  1211. <a class="reference internal" href="glossary.html#term-pear"><em class="xref std std-term">PEAR</em></a> support. In addition you need a <a class="reference internal" href="glossary.html#term-soap"><em class="xref std std-term">SOAP</em></a> support, either as a
  1212. PHP extension or as a PEAR SOAP module.</p>
  1213. <p>To install <a class="reference internal" href="glossary.html#term-pear"><em class="xref std std-term">PEAR</em></a> <a class="reference internal" href="glossary.html#term-soap"><em class="xref std std-term">SOAP</em></a> module, run <strong class="command">pear install
  1214. Net_Socket Net_URL HTTP_Request Mail_Mime Net_DIME SOAP</strong> to get the necessary
  1215. <a class="reference internal" href="glossary.html#term-pear"><em class="xref std std-term">PEAR</em></a> modules for usage.</p>
  1216. <p>If you use the Validator, you should be aware that any <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> statement
  1217. you submit will be stored anonymously (database/table/column names, strings,
  1218. numbers replaced with generic values). The Mimer <a class="reference internal" href="glossary.html#term-sql"><em class="xref std std-term">SQL</em></a> Validator itself,
  1219. is © 2001 Upright Database Technology. We utilize it as free SOAP service.</p>
  1220. </div>
  1221. <div class="section" id="i-want-to-add-a-blob-column-and-put-an-index-on-it-but-mysql-says-blob-column-used-in-key-specification-without-a-key-length">
  1222. <span id="faq6-15"></span><h3>6.15 I want to add a BLOB column and put an index on it, but MySQL says &#8220;BLOB column &#8216;...&#8217; used in key specification without a key length&#8221;.<a class="headerlink" href="#i-want-to-add-a-blob-column-and-put-an-index-on-it-but-mysql-says-blob-column-used-in-key-specification-without-a-key-length" title="Permalink to this headline"></a></h3>
  1223. <p>The right way to do this, is to create the column without any indexes,
  1224. then display the table structure and use the &#8220;Create an index&#8221; dialog.
  1225. On this page, you will be able to choose your BLOB column, and set a
  1226. size to the index, which is the condition to create an index on a BLOB
  1227. column.</p>
  1228. </div>
  1229. <div class="section" id="how-can-i-simply-move-in-page-with-plenty-editing-fields">
  1230. <span id="faq6-16"></span><h3>6.16 How can I simply move in page with plenty editing fields?<a class="headerlink" href="#how-can-i-simply-move-in-page-with-plenty-editing-fields" title="Permalink to this headline"></a></h3>
  1231. <p>You can use <tt class="kbd docutils literal"><span class="pre">Ctrl+arrows</span></tt> (<tt class="kbd docutils literal"><span class="pre">Option+Arrows</span></tt> in Safari) for moving on
  1232. most pages with many editing fields (table structure changes, row editing,
  1233. etc.).</p>
  1234. </div>
  1235. <div class="section" id="transformations-i-can-t-enter-my-own-mimetype-wtf-is-this-feature-then-useful-for">
  1236. <span id="faq6-17"></span><h3>6.17 Transformations: I can&#8217;t enter my own mimetype! WTF is this feature then useful for?<a class="headerlink" href="#transformations-i-can-t-enter-my-own-mimetype-wtf-is-this-feature-then-useful-for" title="Permalink to this headline"></a></h3>
  1237. <p>Slow down :). Defining mimetypes is of no use, if you can&#8217;t put
  1238. transformations on them. Otherwise you could just put a comment on the
  1239. column. Because entering your own mimetype will cause serious syntax
  1240. checking issues and validation, this introduces a high-risk false-
  1241. user-input situation. Instead you have to initialize mimetypes using
  1242. functions or empty mimetype definitions.</p>
  1243. <p>Plus, you have a whole overview of available mimetypes. Who knows all those
  1244. mimetypes by heart so he/she can enter it at will?</p>
  1245. </div>
  1246. <div class="section" id="bookmarks-where-can-i-store-bookmarks-why-can-t-i-see-any-bookmarks-below-the-query-box-what-is-this-variable-for">
  1247. <span id="faqbookmark"></span><h3>6.18 Bookmarks: Where can I store bookmarks? Why can&#8217;t I see any bookmarks below the query box? What is this variable for?<a class="headerlink" href="#bookmarks-where-can-i-store-bookmarks-why-can-t-i-see-any-bookmarks-below-the-query-box-what-is-this-variable-for" title="Permalink to this headline"></a></h3>
  1248. <p>Any query you have executed can be stored as a bookmark on the page
  1249. where the results are displayed. You will find a button labeled
  1250. &#8216;Bookmark this query&#8217; just at the end of the page. As soon as you have
  1251. stored a bookmark, it is related to the database you run the query on.
  1252. You can now access a bookmark dropdown on each page, the query box
  1253. appears on for that database.</p>
  1254. <p>You can also have, inside the query, a placeholder for a variable.
  1255. This is done by inserting into the query a SQL comment between <tt class="docutils literal"><span class="pre">/*</span></tt> and
  1256. <tt class="docutils literal"><span class="pre">*/</span></tt>. Inside the comment, the special string <tt class="docutils literal"><span class="pre">[VARIABLE]</span></tt> is used.
  1257. Be aware that the whole query minus the SQL comment must be
  1258. valid by itself, otherwise you won&#8217;t be able to store it as a bookmark.</p>
  1259. <p>When you execute the bookmark, everything typed into the <em>value</em>
  1260. input box on the query box page will replace the string <tt class="docutils literal"><span class="pre">/*[VARIABLE]*/</span></tt> in
  1261. your stored query.</p>
  1262. <p>Also remember, that everything else inside the <tt class="docutils literal"><span class="pre">/*[VARIABLE]*/</span></tt> string for
  1263. your query will remain the way it is, but will be stripped of the <tt class="docutils literal"><span class="pre">/**/</span></tt>
  1264. chars. So you can use:</p>
  1265. <div class="highlight-mysql"><div class="highlight"><pre><span class="cm">/*, [VARIABLE] AS myname */</span>
  1266. </pre></div>
  1267. </div>
  1268. <p>which will be expanded to</p>
  1269. <div class="highlight-mysql"><div class="highlight"><pre><span class="p">,</span> <span class="n">VARIABLE</span> <span class="k">as</span> <span class="n">myname</span>
  1270. </pre></div>
  1271. </div>
  1272. <p>in your query, where VARIABLE is the string you entered in the input box. If an
  1273. empty string is provided, no replacements are made.</p>
  1274. <p>A more complex example. Say you have stored
  1275. this query:</p>
  1276. <div class="highlight-mysql"><div class="highlight"><pre><span class="k">SELECT</span> <span class="n">Name</span><span class="p">,</span> <span class="n">Address</span> <span class="k">FROM</span> <span class="n">addresses</span> <span class="k">WHERE</span> <span class="mi">1</span> <span class="cm">/* AND Name LIKE &#39;%[VARIABLE]%&#39; */</span>
  1277. </pre></div>
  1278. </div>
  1279. <p>Say, you now enter &#8220;phpMyAdmin&#8221; as the variable for the stored query, the full
  1280. query will be:</p>
  1281. <div class="highlight-mysql"><div class="highlight"><pre><span class="k">SELECT</span> <span class="n">Name</span><span class="p">,</span> <span class="n">Address</span> <span class="k">FROM</span> <span class="n">addresses</span> <span class="k">WHERE</span> <span class="mi">1</span> <span class="k">AND</span> <span class="n">Name</span> <span class="k">LIKE</span> <span class="s1">&#39;%phpMyAdmin%&#39;</span>
  1282. </pre></div>
  1283. </div>
  1284. <p>You can use multiple occurrences of <tt class="docutils literal"><span class="pre">/*[VARIABLE]*/</span></tt> in a single query
  1285. (that is, multiple occurrences of the <em>same</em> variable).</p>
  1286. <p><strong>NOTE THE ABSENCE OF SPACES</strong> inside the <tt class="docutils literal"><span class="pre">/**/</span></tt> construct. Any spaces
  1287. inserted there will be later also inserted as spaces in your query and may lead
  1288. to unexpected results especially when using the variable expansion inside of a
  1289. &#8220;LIKE &#8216;&#8217;&#8221; expression.</p>
  1290. <p>Your initial query which is going to be stored as a bookmark has to yield at
  1291. least one result row so you can store the bookmark. You may have that to work
  1292. around using well positioned <tt class="docutils literal"><span class="pre">/**/</span></tt> comments.</p>
  1293. </div>
  1294. <div class="section" id="how-can-i-create-simple-latex-document-to-include-exported-table">
  1295. <span id="faq6-19"></span><h3>6.19 How can I create simple LATEX document to include exported table?<a class="headerlink" href="#how-can-i-create-simple-latex-document-to-include-exported-table" title="Permalink to this headline"></a></h3>
  1296. <p>You can simply include table in your LATEX documents,
  1297. minimal sample document should look like following one (assuming you
  1298. have table exported in file <tt class="file docutils literal"><span class="pre">table.tex</span></tt>):</p>
  1299. <div class="highlight-latex"><div class="highlight"><pre><span class="k">\documentclass</span><span class="nb">{</span>article<span class="nb">}</span> <span class="c">% or any class you want</span>
  1300. <span class="k">\usepackage</span><span class="nb">{</span>longtable<span class="nb">}</span> <span class="c">% for displaying table</span>
  1301. <span class="k">\begin</span><span class="nb">{</span>document<span class="nb">}</span> <span class="c">% start of document</span>
  1302. <span class="k">\include</span><span class="nb">{</span>table<span class="nb">}</span> <span class="c">% including exported table</span>
  1303. <span class="k">\end</span><span class="nb">{</span>document<span class="nb">}</span> <span class="c">% end of document</span>
  1304. </pre></div>
  1305. </div>
  1306. </div>
  1307. <div class="section" id="i-see-a-lot-of-databases-which-are-not-mine-and-cannot-access-them">
  1308. <span id="faq6-20"></span><h3>6.20 I see a lot of databases which are not mine, and cannot access them.<a class="headerlink" href="#i-see-a-lot-of-databases-which-are-not-mine-and-cannot-access-them" title="Permalink to this headline"></a></h3>
  1309. <p>You have one of these global privileges: CREATE TEMPORARY TABLES, SHOW
  1310. DATABASES, LOCK TABLES. Those privileges also enable users to see all the
  1311. database names. So if your users do not need those privileges, you can remove
  1312. them and their databases list will shorten.</p>
  1313. <div class="admonition-see-also admonition seealso">
  1314. <p class="first admonition-title">See also</p>
  1315. <p class="last">&lt;<a class="reference external" href="http://bugs.mysql.com/179">http://bugs.mysql.com/179</a>&gt;</p>
  1316. </div>
  1317. </div>
  1318. <div class="section" id="in-edit-insert-mode-how-can-i-see-a-list-of-possible-values-for-a-column-based-on-some-foreign-table">
  1319. <span id="faq6-21"></span><h3>6.21 In edit/insert mode, how can I see a list of possible values for a column, based on some foreign table?<a class="headerlink" href="#in-edit-insert-mode-how-can-i-see-a-list-of-possible-values-for-a-column-based-on-some-foreign-table" title="Permalink to this headline"></a></h3>
  1320. <p>You have to setup appropriate links between the tables, and also setup
  1321. the &#8220;display column&#8221; in the foreign table. See <a class="reference internal" href="#faq6-6"><em>6.6 How can I use the relation table in Query-by-example?</em></a> for an
  1322. example. Then, if there are 100 values or less in the foreign table, a
  1323. drop-down list of values will be available. You will see two lists of
  1324. values, the first list containing the key and the display column, the
  1325. second list containing the display column and the key. The reason for
  1326. this is to be able to type the first letter of either the key or the
  1327. display column. For 100 values or more, a distinct window will appear,
  1328. to browse foreign key values and choose one. To change the default
  1329. limit of 100, see <span class="target" id="index-28"></span><a class="reference internal" href="config.html#cfg_ForeignKeyMaxLimit"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['ForeignKeyMaxLimit']</span></tt></a>.</p>
  1330. </div>
  1331. <div class="section" id="bookmarks-can-i-execute-a-default-bookmark-automatically-when-entering-browse-mode-for-a-table">
  1332. <span id="faq6-22"></span><h3>6.22 Bookmarks: Can I execute a default bookmark automatically when entering Browse mode for a table?<a class="headerlink" href="#bookmarks-can-i-execute-a-default-bookmark-automatically-when-entering-browse-mode-for-a-table" title="Permalink to this headline"></a></h3>
  1333. <p>Yes. If a bookmark has the same label as a table name and it&#8217;s not a
  1334. public bookmark, it will be executed.</p>
  1335. </div>
  1336. <div class="section" id="export-i-heard-phpmyadmin-can-export-microsoft-excel-files">
  1337. <span id="faq6-23"></span><h3>6.23 Export: I heard phpMyAdmin can export Microsoft Excel files?<a class="headerlink" href="#export-i-heard-phpmyadmin-can-export-microsoft-excel-files" title="Permalink to this headline"></a></h3>
  1338. <p>You can use <a class="reference internal" href="glossary.html#term-csv"><em class="xref std std-term">CSV</em></a> for Microsoft Excel,
  1339. which works out of the box.</p>
  1340. <p class="versionchanged">
  1341. <span class="versionmodified">Changed in version 3.4.5: </span>Since phpMyAdmin 3.4.5 support for direct export to Microsoft Excel version
  1342. 97 and newer was dropped.</p>
  1343. </div>
  1344. <div class="section" id="now-that-phpmyadmin-supports-native-mysql-4-1-x-column-comments-what-happens-to-my-column-comments-stored-in-pmadb">
  1345. <span id="faq6-24"></span><h3>6.24 Now that phpMyAdmin supports native MySQL 4.1.x column comments, what happens to my column comments stored in pmadb?<a class="headerlink" href="#now-that-phpmyadmin-supports-native-mysql-4-1-x-column-comments-what-happens-to-my-column-comments-stored-in-pmadb" title="Permalink to this headline"></a></h3>
  1346. <p>Automatic migration of a table&#8217;s pmadb-style column comments to the
  1347. native ones is done whenever you enter Structure page for this table.</p>
  1348. </div>
  1349. <div class="section" id="faq6-25">
  1350. <span id="id12"></span><h3>6.25 (withdrawn).<a class="headerlink" href="#faq6-25" title="Permalink to this headline"></a></h3>
  1351. </div>
  1352. <div class="section" id="how-can-i-select-a-range-of-rows">
  1353. <span id="faq6-26"></span><h3>6.26 How can I select a range of rows?<a class="headerlink" href="#how-can-i-select-a-range-of-rows" title="Permalink to this headline"></a></h3>
  1354. <p>Click the first row of the range, hold the shift key and click the
  1355. last row of the range. This works everywhere you see rows, for example
  1356. in Browse mode or on the Structure page.</p>
  1357. </div>
  1358. <div class="section" id="what-format-strings-can-i-use">
  1359. <span id="faq6-27"></span><h3>6.27 What format strings can I use?<a class="headerlink" href="#what-format-strings-can-i-use" title="Permalink to this headline"></a></h3>
  1360. <p>In all places where phpMyAdmin accepts format strings, you can use
  1361. <tt class="docutils literal"><span class="pre">&#64;VARIABLE&#64;</span></tt> expansion and <a class="reference external" href="http://php.net/strftime">strftime</a>
  1362. format strings. The expanded variables depend on a context (for
  1363. example, if you haven&#8217;t chosen a table, you can not get the table
  1364. name), but the following variables can be used:</p>
  1365. <dl class="docutils">
  1366. <dt><tt class="docutils literal"><span class="pre">&#64;HTTP_HOST&#64;</span></tt></dt>
  1367. <dd>HTTP host that runs phpMyAdmin</dd>
  1368. <dt><tt class="docutils literal"><span class="pre">&#64;SERVER&#64;</span></tt></dt>
  1369. <dd>MySQL server name</dd>
  1370. <dt><tt class="docutils literal"><span class="pre">&#64;VERBOSE&#64;</span></tt></dt>
  1371. <dd>Verbose MySQL server name as defined in <span class="target" id="index-29"></span><a class="reference internal" href="config.html#cfg_Servers_verbose"><tt class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['verbose']</span></tt></a></dd>
  1372. <dt><tt class="docutils literal"><span class="pre">&#64;VSERVER&#64;</span></tt></dt>
  1373. <dd>Verbose MySQL server name if set, otherwise normal</dd>
  1374. <dt><tt class="docutils literal"><span class="pre">&#64;DATABASE&#64;</span></tt></dt>
  1375. <dd>Currently opened database</dd>
  1376. <dt><tt class="docutils literal"><span class="pre">&#64;TABLE&#64;</span></tt></dt>
  1377. <dd>Currently opened table</dd>
  1378. <dt><tt class="docutils literal"><span class="pre">&#64;COLUMNS&#64;</span></tt></dt>
  1379. <dd>Columns of the currently opened table</dd>
  1380. <dt><tt class="docutils literal"><span class="pre">&#64;PHPMYADMIN&#64;</span></tt></dt>
  1381. <dd>phpMyAdmin with version</dd>
  1382. </dl>
  1383. </div>
  1384. <div class="section" id="how-can-i-easily-edit-relational-schema-for-export">
  1385. <span id="wysiwyg"></span><h3>6.28 How can I easily edit relational schema for export?<a class="headerlink" href="#how-can-i-easily-edit-relational-schema-for-export" title="Permalink to this headline"></a></h3>
  1386. <p>By clicking on the button &#8216;toggle scratchboard&#8217; on the page where you
  1387. edit x/y coordinates of those elements you can activate a scratchboard
  1388. where all your elements are placed. By clicking on an element, you can
  1389. move them around in the pre-defined area and the x/y coordinates will
  1390. get updated dynamically. Likewise, when entering a new position
  1391. directly into the input field, the new position in the scratchboard
  1392. changes after your cursor leaves the input field.</p>
  1393. <p>You have to click on the &#8216;OK&#8217;-button below the tables to save the new
  1394. positions. If you want to place a new element, first add it to the
  1395. table of elements and then you can drag the new element around.</p>
  1396. <p>By changing the paper size and the orientation you can change the size
  1397. of the scratchboard as well. You can do so by just changing the
  1398. dropdown field below, and the scratchboard will resize automatically,
  1399. without interfering with the current placement of the elements.</p>
  1400. <p>If ever an element gets out of range you can either enlarge the paper
  1401. size or click on the &#8216;reset&#8217; button to place all elements below each
  1402. other.</p>
  1403. </div>
  1404. <div class="section" id="why-can-t-i-get-a-chart-from-my-query-result-table">
  1405. <span id="faq6-29"></span><h3>6.29 Why can&#8217;t I get a chart from my query result table?<a class="headerlink" href="#why-can-t-i-get-a-chart-from-my-query-result-table" title="Permalink to this headline"></a></h3>
  1406. <p>Not every table can be put to the chart. Only tables with one, two or
  1407. three columns can be visualised as a chart. Moreover the table must be
  1408. in a special format for chart script to understand it. Currently
  1409. supported formats can be found in the <a class="reference external" href="http://wiki.phpmyadmin.net/pma/Charts#Data_formats_for_query_results_chart">wiki</a>.</p>
  1410. </div>
  1411. <div class="section" id="import-how-can-i-import-esri-shapefiles">
  1412. <span id="faq6-30"></span><h3>6.30 Import: How can I import ESRI Shapefiles?<a class="headerlink" href="#import-how-can-i-import-esri-shapefiles" title="Permalink to this headline"></a></h3>
  1413. <p>An ESRI Shapefile is actually a set of several files, where .shp file
  1414. contains geometry data and .dbf file contains data related to those
  1415. geometry data. To read data from .dbf file you need to have PHP
  1416. compiled with the dBase extension (&#8211;enable-dbase). Otherwise only
  1417. geometry data will be imported.</p>
  1418. <p>To upload these set of files you can use either of the following
  1419. methods:</p>
  1420. <p>Configure upload directory with <span class="target" id="index-30"></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>, upload both .shp and .dbf files with
  1421. the same filename and chose the .shp file from the import page.</p>
  1422. <p>Create a Zip archive with .shp and .dbf files and import it. For this
  1423. to work, you need to set <span class="target" id="index-31"></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> to a place where the web server user can
  1424. write (for example <tt class="docutils literal"><span class="pre">'./tmp'</span></tt>).</p>
  1425. <p>To create the temporary directory on a UNIX-based system, you can do:</p>
  1426. <div class="highlight-sh"><div class="highlight"><pre><span class="nb">cd </span>phpMyAdmin
  1427. mkdir tmp
  1428. chmod o+rwx tmp
  1429. </pre></div>
  1430. </div>
  1431. </div>
  1432. <div class="section" id="how-do-i-create-a-relation-in-designer">
  1433. <span id="faq6-31"></span><h3>6.31 How do I create a relation in designer?<a class="headerlink" href="#how-do-i-create-a-relation-in-designer" title="Permalink to this headline"></a></h3>
  1434. <p>To select relation, click: The display column is shown in pink. To
  1435. set/unset a column as the display column, click the &#8220;Choose column to
  1436. display&#8221; icon, then click on the appropriate column name.</p>
  1437. </div>
  1438. <div class="section" id="how-can-i-use-the-zoom-search-feature">
  1439. <span id="faq6-32"></span><h3>6.32 How can I use the zoom search feature?<a class="headerlink" href="#how-can-i-use-the-zoom-search-feature" title="Permalink to this headline"></a></h3>
  1440. <p>The Zoom search feature is an alternative to table search feature. It allows
  1441. you to explore a table by representing its data in a scatter plot. You can
  1442. locate this feature by selecting a table and clicking the <em class="guilabel">Search</em>
  1443. tab. One of the sub-tabs in the <em class="guilabel">Table Search</em> page is
  1444. <em class="guilabel">Zoom Search</em>.</p>
  1445. <p>Consider the table REL_persons in <a class="reference internal" href="#faq6-6"><em>6.6 How can I use the relation table in Query-by-example?</em></a> for
  1446. an example. To use zoom search, two columns need to be selected, for
  1447. example, id and town_code. The id values will be represented on one
  1448. axis and town_code values on the other axis. Each row will be
  1449. represented as a point in a scatter plot based on its id and
  1450. town_code. You can include two additional search criteria apart from
  1451. the two fields to display.</p>
  1452. <p>You can choose which field should be
  1453. displayed as label for each point. If a display column has been set
  1454. for the table (see <a class="reference internal" href="#faqdisplay"><em>6.7 How can I use the &#8220;display column&#8221; feature?</em></a>), it is taken as the label unless
  1455. you specify otherwise. You can also select the maximum number of rows
  1456. you want to be displayed in the plot by specifing it in the &#8216;Max rows
  1457. to plot&#8217; field. Once you have decided over your criteria, click &#8216;Go&#8217;
  1458. to display the plot.</p>
  1459. <p>After the plot is generated, you can use the
  1460. mousewheel to zoom in and out of the plot. In addition, panning
  1461. feature is enabled to navigate through the plot. You can zoom-in to a
  1462. certail level of detail and use panning to locate your area of
  1463. interest. Clicking on a point opens a dialogue box, displaying field
  1464. values of the data row represented by the point. You can edit the
  1465. values if required and click on submit to issue an update query. Basic
  1466. instructions on how to use can be viewed by clicking the &#8216;How to use?&#8217;
  1467. link located just above the plot.</p>
  1468. </div>
  1469. <div class="section" id="when-browsing-a-table-how-can-i-copy-a-column-name">
  1470. <span id="faq6-33"></span><h3>6.33 When browsing a table, how can I copy a column name?<a class="headerlink" href="#when-browsing-a-table-how-can-i-copy-a-column-name" title="Permalink to this headline"></a></h3>
  1471. <p>Selecting the name of the column within the browse table header cell
  1472. for copying is difficult, as the columns support reordering by
  1473. dragging the header cells as well as sorting by clicking on the linked
  1474. column name. To copy a column name, double-click on the empty area
  1475. next to the column name, when the tooltip tells you to do so. This
  1476. will show you an input box with the column name. You may right-click
  1477. the column name within this input box to copy it to your clipboard.</p>
  1478. </div>
  1479. </div>
  1480. <div class="section" id="phpmyadmin-project">
  1481. <span id="faqproject"></span><h2>phpMyAdmin project<a class="headerlink" href="#phpmyadmin-project" title="Permalink to this headline"></a></h2>
  1482. <div class="section" id="i-have-found-a-bug-how-do-i-inform-developers">
  1483. <span id="faq7-1"></span><h3>7.1 I have found a bug. How do I inform developers?<a class="headerlink" href="#i-have-found-a-bug-how-do-i-inform-developers" title="Permalink to this headline"></a></h3>
  1484. <p>Our Bug Tracker is located at &lt;<a class="reference external" href="http://sf.net/projects/phpmyadmin/">http://sf.net/projects/phpmyadmin/</a>&gt; under the
  1485. Bugs section. But please first discuss your bug with other users:
  1486. &lt;<a class="reference external" href="https://sourceforge.net/projects/phpmyadmin/forums">https://sourceforge.net/projects/phpmyadmin/forums</a>&gt;.</p>
  1487. </div>
  1488. <div class="section" id="i-want-to-translate-the-messages-to-a-new-language-or-upgrade-an-existing-language-where-do-i-start">
  1489. <span id="faq7-2"></span><h3>7.2 I want to translate the messages to a new language or upgrade an existing language, where do I start?<a class="headerlink" href="#i-want-to-translate-the-messages-to-a-new-language-or-upgrade-an-existing-language-where-do-i-start" title="Permalink to this headline"></a></h3>
  1490. <p>Translations are very welcome and all you need to have are the
  1491. language skills. The easiest way is to use our <a class="reference external" href="https://l10n.cihar.com/projects/phpmyadmin/">online translation
  1492. service</a>. You can check
  1493. out all the possibilities to translate in the <a class="reference external" href="http://www.phpmyadmin.net/home_page/translate.php">translate section on
  1494. our website</a>.</p>
  1495. </div>
  1496. <div class="section" id="i-would-like-to-help-out-with-the-development-of-phpmyadmin-how-should-i-proceed">
  1497. <span id="faq7-3"></span><h3>7.3 I would like to help out with the development of phpMyAdmin. How should I proceed?<a class="headerlink" href="#i-would-like-to-help-out-with-the-development-of-phpmyadmin-how-should-i-proceed" title="Permalink to this headline"></a></h3>
  1498. <p>We welcome every contribution to the development of phpMyAdmin. You
  1499. can check out all the possibilities to contribute in the <a class="reference external" href="http://www.phpmyadmin.net/home_page/improve.php">contribute
  1500. section on our website</a>.</p>
  1501. <div class="admonition-see-also admonition seealso">
  1502. <p class="first admonition-title">See also</p>
  1503. <p class="last"><a class="reference internal" href="developers.html#developers"><em>Developers Information</em></a></p>
  1504. </div>
  1505. </div>
  1506. </div>
  1507. <div class="section" id="security">
  1508. <span id="faqsecurity"></span><h2>Security<a class="headerlink" href="#security" title="Permalink to this headline"></a></h2>
  1509. <div class="section" id="where-can-i-get-information-about-the-security-alerts-issued-for-phpmyadmin">
  1510. <span id="faq8-1"></span><h3>8.1 Where can I get information about the security alerts issued for phpMyAdmin?<a class="headerlink" href="#where-can-i-get-information-about-the-security-alerts-issued-for-phpmyadmin" title="Permalink to this headline"></a></h3>
  1511. <p>Please refer to &lt;<a class="reference external" href="http://www.phpmyadmin.net/home_page/security.php">http://www.phpmyadmin.net/home_page/security.php</a>&gt;.</p>
  1512. </div>
  1513. <div class="section" id="how-can-i-protect-phpmyadmin-against-brute-force-attacks">
  1514. <span id="faq8-2"></span><h3>8.2 How can I protect phpMyAdmin against brute force attacks?<a class="headerlink" href="#how-can-i-protect-phpmyadmin-against-brute-force-attacks" title="Permalink to this headline"></a></h3>
  1515. <p>If you use Apache web server, phpMyAdmin exports information about
  1516. authentication to the Apache environment and it can be used in Apache
  1517. logs. Currently there are two variables available:</p>
  1518. <dl class="docutils">
  1519. <dt><tt class="docutils literal"><span class="pre">userID</span></tt></dt>
  1520. <dd>User name of currently active user (he does not have to be logged in).</dd>
  1521. <dt><tt class="docutils literal"><span class="pre">userStatus</span></tt></dt>
  1522. <dd>Status of currently active user, one of <tt class="docutils literal"><span class="pre">ok</span></tt> (user is logged in),
  1523. <tt class="docutils literal"><span class="pre">mysql-denied</span></tt> (MySQL denied user login), <tt class="docutils literal"><span class="pre">allow-denied</span></tt> (user denied
  1524. by allow/deny rules), <tt class="docutils literal"><span class="pre">root-denied</span></tt> (root is denied in configuration),
  1525. <tt class="docutils literal"><span class="pre">empty-denied</span></tt> (empty password is denied).</dd>
  1526. </dl>
  1527. <p><tt class="docutils literal"><span class="pre">LogFormat</span></tt> directive for Apache can look like following:</p>
  1528. <div class="highlight-apache"><div class="highlight"><pre><span class="nb">LogFormat</span> <span class="s2">&quot;%h %l %u %t \&quot;%r\&quot; %&gt;s %b \&quot;%{Referer}i\&quot; \&quot;%{User-Agent}i\&quot; %{userID}n %{userStatus}n&quot;</span> pma_combined
  1529. </pre></div>
  1530. </div>
  1531. <p>You can then use any log analyzing tools to detect possible break-in
  1532. attempts.</p>
  1533. </div>
  1534. </div>
  1535. <div class="section" id="synchronization">
  1536. <span id="faqsynchronization"></span><h2>Synchronization<a class="headerlink" href="#synchronization" title="Permalink to this headline"></a></h2>
  1537. <div class="section" id="faq9-1">
  1538. <span id="id13"></span><h3>9.1 (withdrawn).<a class="headerlink" href="#faq9-1" title="Permalink to this headline"></a></h3>
  1539. </div>
  1540. <div class="section" id="faq9-2">
  1541. <span id="id14"></span><h3>9.2 (withdrawn).<a class="headerlink" href="#faq9-2" title="Permalink to this headline"></a></h3>
  1542. </div>
  1543. </div>
  1544. </div>
  1545. </div>
  1546. </div>
  1547. </div>
  1548. <div class="sphinxsidebar">
  1549. <div class="sphinxsidebarwrapper">
  1550. <h3><a href="index.html">Table Of Contents</a></h3>
  1551. <ul>
  1552. <li><a class="reference internal" href="#">FAQ - Frequently Asked Questions</a><ul>
  1553. <li><a class="reference internal" href="#server">Server</a><ul>
  1554. <li><a class="reference internal" 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">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></li>
  1555. <li><a class="reference internal" href="#my-apache-server-crashes-when-using-phpmyadmin">1.2 My Apache server crashes when using phpMyAdmin.</a></li>
  1556. <li><a class="reference internal" href="#withdrawn">1.3 (withdrawn).</a></li>
  1557. <li><a class="reference internal" 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">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></li>
  1558. <li><a class="reference internal" href="#using-phpmyadmin-on-iis-i-m-facing-crashes-and-or-many-error-messages-with-the-http">1.5 Using phpMyAdmin on IIS, I&#8217;m facing crashes and/or many error messages with the HTTP.</a></li>
  1559. <li><a class="reference internal" href="#i-can-t-use-phpmyadmin-on-pws-nothing-is-displayed">1.6 I can&#8217;t use phpMyAdmin on PWS: nothing is displayed!</a></li>
  1560. <li><a class="reference internal" href="#how-can-i-gzip-a-dump-or-a-csv-export-it-does-not-seem-to-work">1.7 How can I GZip a dump or a CSV export? It does not seem to work.</a></li>
  1561. <li><a class="reference internal" href="#i-cannot-insert-a-text-file-in-a-table-and-i-get-an-error-about-safe-mode-being-in-effect">1.8 I cannot insert a text file in a table, and I get an error about safe mode being in effect.</a></li>
  1562. <li><a class="reference internal" href="#faq1-9">1.9 (withdrawn).</a></li>
  1563. <li><a class="reference internal" 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">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></li>
  1564. <li><a class="reference internal" href="#i-get-an-open-basedir-restriction-while-uploading-a-file-from-the-query-box">1.11 I get an &#8216;open_basedir restriction&#8217; while uploading a file from the query box.</a></li>
  1565. <li><a class="reference internal" href="#i-have-lost-my-mysql-root-password-what-can-i-do">1.12 I have lost my MySQL root password, what can I do?</a></li>
  1566. <li><a class="reference internal" href="#faq1-13">1.13 (withdrawn).</a></li>
  1567. <li><a class="reference internal" href="#faq1-14">1.14 (withdrawn).</a></li>
  1568. <li><a class="reference internal" href="#i-have-problems-with-mysql-user-column-names">1.15 I have problems with <em>mysql.user</em> column names.</a></li>
  1569. <li><a class="reference internal" href="#i-cannot-upload-big-dump-files-memory-http-or-timeout-problems">1.16 I cannot upload big dump files (memory, HTTP or timeout problems).</a></li>
  1570. <li><a class="reference internal" href="#which-mysql-versions-does-phpmyadmin-support">1.17 Which MySQL versions does phpMyAdmin support?</a></li>
  1571. <li><a class="reference internal" 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">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></li>
  1572. <li><a class="reference internal" href="#faq1-18">1.18 (withdrawn).</a></li>
  1573. <li><a class="reference internal" href="#i-can-t-run-the-display-relations-feature-because-the-script-seems-not-to-know-the-font-face-i-m-using">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></li>
  1574. <li><a class="reference internal" href="#i-receive-the-error-cannot-load-mysql-extension-please-check-php-configuration">1.20 I receive the error &#8220;cannot load MySQL extension, please check PHP Configuration&#8221;.</a></li>
  1575. <li><a class="reference internal" href="#i-am-running-the-cgi-version-of-php-under-unix-and-i-cannot-log-in-using-cookie-auth">1.21 I am running the CGI version of PHP under Unix, and I cannot log in using cookie auth.</a></li>
  1576. <li><a class="reference internal" href="#i-don-t-see-the-location-of-text-file-field-so-i-cannot-upload">1.22 I don&#8217;t see the &#8220;Location of text file&#8221; field, so I cannot upload.</a></li>
  1577. <li><a class="reference internal" 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">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></li>
  1578. <li><a class="reference internal" href="#faq1-24">1.24 (withdrawn).</a></li>
  1579. <li><a class="reference internal" 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">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></li>
  1580. <li><a class="reference internal" 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">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></li>
  1581. <li><a class="reference internal" href="#i-get-empty-page-when-i-want-to-view-huge-page-eg-db-structure-php-with-plenty-of-tables">1.27 I get empty page when I want to view huge page (eg. db_structure.php with plenty of tables).</a></li>
  1582. <li><a class="reference internal" href="#my-mysql-server-sometimes-refuses-queries-and-returns-the-message-errorcode-13-what-does-this-mean">1.28 My MySQL server sometimes refuses queries and returns the message &#8216;Errorcode: 13&#8217;. What does this mean?</a></li>
  1583. <li><a class="reference internal" href="#when-i-create-a-table-or-modify-a-column-i-get-an-error-and-the-columns-are-duplicated">1.29 When I create a table or modify a column, I get an error and the columns are duplicated.</a></li>
  1584. <li><a class="reference internal" href="#i-get-the-error-navigation-php-missing-hash">1.30 I get the error &#8220;navigation.php: Missing hash&#8221;.</a></li>
  1585. <li><a class="reference internal" href="#does-phpmyadmin-support-php-5">1.31 Does phpMyAdmin support PHP 5?</a></li>
  1586. <li><a class="reference internal" href="#can-i-use-http-authentication-with-iis">1.32 Can I use HTTP authentication with IIS?</a></li>
  1587. <li><a class="reference internal" href="#faq1-33">1.33 (withdrawn).</a></li>
  1588. <li><a class="reference internal" href="#can-i-access-directly-to-database-or-table-pages">1.34 Can I access directly to database or table pages?</a></li>
  1589. <li><a class="reference internal" href="#can-i-use-http-authentication-with-apache-cgi">1.35 Can I use HTTP authentication with Apache CGI?</a></li>
  1590. <li><a class="reference internal" href="#i-get-an-error-500-internal-server-error">1.36 I get an error &#8220;500 Internal Server Error&#8221;.</a></li>
  1591. <li><a class="reference internal" href="#i-run-phpmyadmin-on-cluster-of-different-machines-and-password-encryption-in-cookie-auth-doesn-t-work">1.37 I run phpMyAdmin on cluster of different machines and password encryption in cookie auth doesn&#8217;t work.</a></li>
  1592. <li><a class="reference internal" href="#can-i-use-phpmyadmin-on-a-server-on-which-suhosin-is-enabled">1.38 Can I use phpMyAdmin on a server on which Suhosin is enabled?</a></li>
  1593. <li><a class="reference internal" 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">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></li>
  1594. <li><a class="reference internal" href="#when-accessing-phpmyadmin-via-an-apache-reverse-proxy-cookie-login-does-not-work">1.40 When accessing phpMyAdmin via an Apache reverse proxy, cookie login does not work.</a></li>
  1595. <li><a class="reference internal" href="#when-i-view-a-database-and-ask-to-see-its-privileges-i-get-an-error-about-an-unknown-column">1.41 When I view a database and ask to see its privileges, I get an error about an unknown column.</a></li>
  1596. <li><a class="reference internal" href="#how-can-i-prevent-robots-from-accessing-phpmyadmin">1.42 How can I prevent robots from accessing phpMyAdmin?</a></li>
  1597. <li><a class="reference internal" href="#why-can-t-i-display-the-structure-of-my-table-containing-hundreds-of-columns">1.43 Why can&#8217;t I display the structure of my table containing hundreds of columns?</a></li>
  1598. </ul>
  1599. </li>
  1600. <li><a class="reference internal" href="#configuration">Configuration</a><ul>
  1601. <li><a class="reference internal" href="#the-error-message-warning-cannot-add-header-information-headers-already-sent-by-is-displayed-what-s-the-problem">2.1 The error message &#8220;Warning: Cannot add header information - headers already sent by ...&#8221; is displayed, what&#8217;s the problem?</a></li>
  1602. <li><a class="reference internal" href="#phpmyadmin-can-t-connect-to-mysql-what-s-wrong">2.2 phpMyAdmin can&#8217;t connect to MySQL. What&#8217;s wrong?</a></li>
  1603. <li><a class="reference internal" 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">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></li>
  1604. <li><a class="reference internal" href="#nothing-is-displayed-by-my-browser-when-i-try-to-run-phpmyadmin-what-can-i-do">2.4 Nothing is displayed by my browser when I try to run phpMyAdmin, what can I do?</a></li>
  1605. <li><a class="reference internal" href="#each-time-i-want-to-insert-or-change-a-row-or-drop-a-database-or-a-table-an-error-404-page-not-found-is-displayed-or-with-http-or-cookie-authentication-i-m-asked-to-log-in-again-what-s-wrong">2.5 Each time I want to insert or change a row or drop a database or a table, an error 404 (page not found) is displayed or, with HTTP or cookie authentication, I&#8217;m asked to log in again. What&#8217;s wrong?</a></li>
  1606. <li><a class="reference internal" href="#i-get-an-access-denied-for-user-root-localhost-using-password-yes-error-when-trying-to-access-a-mysql-server-on-a-host-which-is-port-forwarded-for-my-localhost">2.6 I get an &#8220;Access denied for user: &#8216;root&#64;localhost&#8216; (Using password: YES)&#8221;-error when trying to access a MySQL-Server on a host which is port-forwarded for my localhost.</a></li>
  1607. <li><a class="reference internal" href="#using-and-creating-themes">2.7 Using and creating themes</a></li>
  1608. <li><a class="reference internal" href="#i-get-missing-parameters-errors-what-can-i-do">2.8 I get &#8220;Missing parameters&#8221; errors, what can I do?</a></li>
  1609. <li><a class="reference internal" href="#seeing-an-upload-progress-bar">2.9 Seeing an upload progress bar</a></li>
  1610. </ul>
  1611. </li>
  1612. <li><a class="reference internal" href="#known-limitations">Known limitations</a><ul>
  1613. <li><a class="reference internal" href="#when-using-http-authentication-a-user-who-logged-out-can-not-log-in-again-in-with-the-same-nick">3.1 When using HTTP authentication, a user who logged out can not log in again in with the same nick.</a></li>
  1614. <li><a class="reference internal" href="#when-dumping-a-large-table-in-compressed-mode-i-get-a-memory-limit-error-or-a-time-limit-error">3.2 When dumping a large table in compressed mode, I get a memory limit error or a time limit error.</a></li>
  1615. <li><a class="reference internal" href="#with-innodb-tables-i-lose-foreign-key-relationships-when-i-rename-a-table-or-a-column">3.3 With InnoDB tables, I lose foreign key relationships when I rename a table or a column.</a></li>
  1616. <li><a class="reference internal" href="#i-am-unable-to-import-dumps-i-created-with-the-mysqldump-tool-bundled-with-the-mysql-server-distribution">3.4 I am unable to import dumps I created with the mysqldump tool bundled with the MySQL server distribution.</a></li>
  1617. <li><a class="reference internal" href="#when-using-nested-folders-multiple-hierarchies-are-displayed-in-a-wrong-manner">3.5 When using nested folders, multiple hierarchies are displayed in a wrong manner.</a></li>
  1618. <li><a class="reference internal" href="#what-is-currently-not-supported-in-phpmyadmin-about-innodb">3.6 What is currently not supported in phpMyAdmin about InnoDB?</a></li>
  1619. <li><a class="reference internal" href="#i-have-table-with-many-100-columns-and-when-i-try-to-browse-table-i-get-series-of-errors-like-warning-unable-to-parse-url-how-can-this-be-fixed">3.7 I have table with many (100+) columns and when I try to browse table I get series of errors like &#8220;Warning: unable to parse url&#8221;. How can this be fixed?</a></li>
  1620. <li><a class="reference internal" href="#i-cannot-use-clickable-html-forms-in-columns-where-i-put-a-mime-transformation-onto">3.8 I cannot use (clickable) HTML-forms in columns where I put a MIME-Transformation onto!</a></li>
  1621. <li><a class="reference internal" href="#i-get-error-messages-when-using-sql-mode-ansi-for-the-mysql-server">3.9 I get error messages when using &#8220;&#8211;sql_mode=ANSI&#8221; for the MySQL server.</a></li>
  1622. <li><a class="reference internal" href="#homonyms-and-no-primary-key-when-the-results-of-a-select-display-more-that-one-column-with-the-same-value-for-example-select-lastname-from-employees-where-firstname-like-a-and-two-smith-values-are-displayed-if-i-click-edit-i-cannot-be-sure-that-i-am-editing-the-intended-row">3.10 Homonyms and no primary key: When the results of a SELECT display more that one column with the same value (for example <tt class="docutils literal"><span class="pre">SELECT</span> <span class="pre">lastname</span> <span class="pre">from</span> <span class="pre">employees</span> <span class="pre">where</span> <span class="pre">firstname</span> <span class="pre">like</span> <span class="pre">'A%'</span></tt> and two &#8220;Smith&#8221; values are displayed), if I click Edit I cannot be sure that I am editing the intended row.</a></li>
  1623. <li><a class="reference internal" href="#the-number-of-rows-for-innodb-tables-is-not-correct">3.11 The number of rows for InnoDB tables is not correct.</a></li>
  1624. <li><a class="reference internal" href="#faq3-12">3.12 (withdrawn).</a></li>
  1625. <li><a class="reference internal" href="#i-get-an-error-when-entering-use-followed-by-a-db-name-containing-an-hyphen">3.13 I get an error when entering <tt class="docutils literal"><span class="pre">USE</span></tt> followed by a db name containing an hyphen.</a></li>
  1626. <li><a class="reference internal" href="#i-am-not-able-to-browse-a-table-when-i-don-t-have-the-right-to-select-one-of-the-columns">3.14 I am not able to browse a table when I don&#8217;t have the right to SELECT one of the columns.</a></li>
  1627. <li><a class="reference internal" href="#faq3-15">3.15 (withdrawn).</a></li>
  1628. <li><a class="reference internal" href="#faq3-16">3.16 (withdrawn).</a></li>
  1629. <li><a class="reference internal" href="#faq3-17">3.17 (withdrawn).</a></li>
  1630. <li><a class="reference internal" href="#when-i-import-a-csv-file-that-contains-multiple-tables-they-are-lumped-together-into-a-single-table">3.18 When I import a CSV file that contains multiple tables, they are lumped together into a single table.</a></li>
  1631. <li><a class="reference internal" href="#when-i-import-a-file-and-have-phpmyadmin-determine-the-appropriate-data-structure-it-only-uses-int-decimal-and-varchar-types">3.19 When I import a file and have phpMyAdmin determine the appropriate data structure it only uses int, decimal, and varchar types.</a></li>
  1632. <li><a class="reference internal" href="#after-upgrading-some-bookmarks-are-gone-or-their-content-cannot-be-shown">3.20 After upgrading, some bookmarks are gone or their content cannot be shown.</a></li>
  1633. </ul>
  1634. </li>
  1635. <li><a class="reference internal" href="#isps-multi-user-installations">ISPs, multi-user installations</a><ul>
  1636. <li><a class="reference internal" href="#i-m-an-isp-can-i-setup-one-central-copy-of-phpmyadmin-or-do-i-need-to-install-it-for-each-customer">4.1 I&#8217;m an ISP. Can I setup one central copy of phpMyAdmin or do I need to install it for each customer?</a></li>
  1637. <li><a class="reference internal" href="#what-s-the-preferred-way-of-making-phpmyadmin-secure-against-evil-access">4.2 What&#8217;s the preferred way of making phpMyAdmin secure against evil access?</a></li>
  1638. <li><a class="reference internal" href="#i-get-errors-about-not-being-able-to-include-a-file-in-lang-or-in-libraries">4.3 I get errors about not being able to include a file in <em>/lang</em> or in <em>/libraries</em>.</a></li>
  1639. <li><a class="reference internal" href="#phpmyadmin-always-gives-access-denied-when-using-http-authentication">4.4 phpMyAdmin always gives &#8220;Access denied&#8221; when using HTTP authentication.</a></li>
  1640. <li><a class="reference internal" href="#is-it-possible-to-let-users-create-their-own-databases">4.5 Is it possible to let users create their own databases?</a></li>
  1641. <li><a class="reference internal" href="#how-can-i-use-the-host-based-authentication-additions">4.6 How can I use the Host-based authentication additions?</a></li>
  1642. <li><a class="reference internal" href="#authentication-window-is-displayed-more-than-once-why">4.7 Authentication window is displayed more than once, why?</a></li>
  1643. <li><a class="reference internal" href="#which-parameters-can-i-use-in-the-url-that-starts-phpmyadmin">4.8 Which parameters can I use in the URL that starts phpMyAdmin?</a></li>
  1644. </ul>
  1645. </li>
  1646. <li><a class="reference internal" href="#browsers-or-client-os">Browsers or client OS</a><ul>
  1647. <li><a class="reference internal" href="#i-get-an-out-of-memory-error-and-my-controls-are-non-functional-when-trying-to-create-a-table-with-more-than-14-columns">5.1 I get an out of memory error, and my controls are non-functional, when trying to create a table with more than 14 columns.</a></li>
  1648. <li><a class="reference internal" href="#with-xitami-2-5b4-phpmyadmin-won-t-process-form-fields">5.2 With Xitami 2.5b4, phpMyAdmin won&#8217;t process form fields.</a></li>
  1649. <li><a class="reference internal" href="#i-have-problems-dumping-tables-with-konqueror-phpmyadmin-2-2-2">5.3 I have problems dumping tables with Konqueror (phpMyAdmin 2.2.2).</a></li>
  1650. <li><a class="reference internal" href="#i-can-t-use-the-cookie-authentication-mode-because-internet-explorer-never-stores-the-cookies">5.4 I can&#8217;t use the cookie authentication mode because Internet Explorer never stores the cookies.</a></li>
  1651. <li><a class="reference internal" href="#in-internet-explorer-5-0-i-get-javascript-errors-when-browsing-my-rows">5.5 In Internet Explorer 5.0, I get JavaScript errors when browsing my rows.</a></li>
  1652. <li><a class="reference internal" href="#in-internet-explorer-5-0-5-5-or-6-0-i-get-an-error-like-page-not-found-when-trying-to-modify-a-row-in-a-table-with-many-columns-or-with-a-text-column">5.6 In Internet Explorer 5.0, 5.5 or 6.0, I get an error (like &#8220;Page not found&#8221;) when trying to modify a row in a table with many columns, or with a text column.</a></li>
  1653. <li><a class="reference internal" href="#i-refresh-reload-my-browser-and-come-back-to-the-welcome-page">5.7 I refresh (reload) my browser, and come back to the welcome page.</a></li>
  1654. <li><a class="reference internal" href="#with-mozilla-0-9-7-i-have-problems-sending-a-query-modified-in-the-query-box">5.8 With Mozilla 0.9.7 I have problems sending a query modified in the query box.</a></li>
  1655. <li><a class="reference internal" href="#with-mozilla-0-9-to-1-0-and-netscape-7-0-pr1-i-can-t-type-a-whitespace-in-the-sql-query-edit-area-the-page-scrolls-down">5.9 With Mozilla 0.9.? to 1.0 and Netscape 7.0-PR1 I can&#8217;t type a whitespace in the SQL-Query edit area: the page scrolls down.</a></li>
  1656. <li><a class="reference internal" href="#with-netscape-4-75-i-get-empty-rows-between-each-row-of-data-in-a-csv-exported-file">5.10 With Netscape 4.75 I get empty rows between each row of data in a CSV exported file.</a></li>
  1657. <li><a class="reference internal" href="#extended-ascii-characters-like-german-umlauts-are-displayed-wrong">5.11 Extended-ASCII characters like German umlauts are displayed wrong.</a></li>
  1658. <li><a class="reference internal" href="#mac-os-x-safari-browser-changes-special-characters-to">5.12 Mac OS X Safari browser changes special characters to &#8221;?&#8221;.</a></li>
  1659. <li><a class="reference internal" href="#with-internet-explorer-5-5-or-6-and-http-authentication-type-i-cannot-manage-two-servers-i-log-in-to-the-first-one-then-the-other-one-but-if-i-switch-back-to-the-first-i-have-to-log-in-on-each-operation">5.13 With Internet Explorer 5.5 or 6, and HTTP authentication type, I cannot manage two servers: I log in to the first one, then the other one, but if I switch back to the first, I have to log in on each operation.</a></li>
  1660. <li><a class="reference internal" href="#using-opera6-i-can-manage-to-get-to-the-authentication-but-nothing-happens-after-that-only-a-blank-screen">5.14 Using Opera6, I can manage to get to the authentication, but nothing happens after that, only a blank screen.</a></li>
  1661. <li><a class="reference internal" href="#i-have-display-problems-with-safari">5.15 I have display problems with Safari.</a></li>
  1662. <li><a class="reference internal" href="#with-internet-explorer-i-get-access-is-denied-javascript-errors-or-i-cannot-make-phpmyadmin-work-under-windows">5.16 With Internet Explorer, I get &#8220;Access is denied&#8221; Javascript errors. Or I cannot make phpMyAdmin work under Windows.</a></li>
  1663. <li><a class="reference internal" href="#with-firefox-i-cannot-delete-rows-of-data-or-drop-a-database">5.17 With Firefox, I cannot delete rows of data or drop a database.</a></li>
  1664. <li><a class="reference internal" href="#with-konqueror-4-2-x-an-invalid-limit-clause-is-generated-when-i-browse-a-table">5.18 With Konqueror 4.2.x an invalid <tt class="docutils literal"><span class="pre">LIMIT</span></tt> clause is generated when I browse a table.</a></li>
  1665. <li><a class="reference internal" href="#i-get-javascript-errors-in-my-browser">5.19 I get JavaScript errors in my browser.</a></li>
  1666. </ul>
  1667. </li>
  1668. <li><a class="reference internal" href="#using-phpmyadmin">Using phpMyAdmin</a><ul>
  1669. <li><a class="reference internal" href="#i-can-t-insert-new-rows-into-a-table-i-can-t-create-a-table-mysql-brings-up-a-sql-error">6.1 I can&#8217;t insert new rows into a table / I can&#8217;t create a table - MySQL brings up a SQL error.</a></li>
  1670. <li><a class="reference internal" href="#when-i-create-a-table-i-set-an-index-for-two-columns-and-phpmyadmin-generates-only-one-index-with-those-two-columns">6.2 When I create a table, I set an index for two columns and phpMyAdmin generates only one index with those two columns.</a></li>
  1671. <li><a class="reference internal" href="#how-can-i-insert-a-null-value-into-my-table">6.3 How can I insert a null value into my table?</a></li>
  1672. <li><a class="reference internal" href="#how-can-i-backup-my-database-or-table">6.4 How can I backup my database or table?</a></li>
  1673. <li><a class="reference internal" href="#how-can-i-restore-upload-my-database-or-table-using-a-dump-how-can-i-run-a-sql-file">6.5 How can I restore (upload) my database or table using a dump? How can I run a &#8221;.sql&#8221; file?</a></li>
  1674. <li><a class="reference internal" href="#how-can-i-use-the-relation-table-in-query-by-example">6.6 How can I use the relation table in Query-by-example?</a></li>
  1675. <li><a class="reference internal" href="#how-can-i-use-the-display-column-feature">6.7 How can I use the &#8220;display column&#8221; feature?</a></li>
  1676. <li><a class="reference internal" href="#how-can-i-produce-a-pdf-schema-of-my-database">6.8 How can I produce a PDF schema of my database?</a></li>
  1677. <li><a class="reference internal" href="#phpmyadmin-is-changing-the-type-of-one-of-my-columns">6.9 phpMyAdmin is changing the type of one of my columns!</a></li>
  1678. <li><a class="reference internal" href="#when-creating-a-privilege-what-happens-with-underscores-in-the-database-name">6.10 When creating a privilege, what happens with underscores in the database name?</a></li>
  1679. <li><a class="reference internal" href="#what-is-the-curious-symbol-o-in-the-statistics-pages">6.11 What is the curious symbol ø in the statistics pages?</a></li>
  1680. <li><a class="reference internal" href="#i-want-to-understand-some-export-options">6.12 I want to understand some Export options.</a></li>
  1681. <li><a class="reference internal" href="#i-would-like-to-create-a-database-with-a-dot-in-its-name">6.13 I would like to create a database with a dot in its name.</a></li>
  1682. <li><a class="reference internal" href="#how-do-i-set-up-the-sql-validator">6.14 How do I set up the SQL Validator?</a></li>
  1683. <li><a class="reference internal" href="#i-want-to-add-a-blob-column-and-put-an-index-on-it-but-mysql-says-blob-column-used-in-key-specification-without-a-key-length">6.15 I want to add a BLOB column and put an index on it, but MySQL says &#8220;BLOB column &#8216;...&#8217; used in key specification without a key length&#8221;.</a></li>
  1684. <li><a class="reference internal" href="#how-can-i-simply-move-in-page-with-plenty-editing-fields">6.16 How can I simply move in page with plenty editing fields?</a></li>
  1685. <li><a class="reference internal" href="#transformations-i-can-t-enter-my-own-mimetype-wtf-is-this-feature-then-useful-for">6.17 Transformations: I can&#8217;t enter my own mimetype! WTF is this feature then useful for?</a></li>
  1686. <li><a class="reference internal" href="#bookmarks-where-can-i-store-bookmarks-why-can-t-i-see-any-bookmarks-below-the-query-box-what-is-this-variable-for">6.18 Bookmarks: Where can I store bookmarks? Why can&#8217;t I see any bookmarks below the query box? What is this variable for?</a></li>
  1687. <li><a class="reference internal" href="#how-can-i-create-simple-latex-document-to-include-exported-table">6.19 How can I create simple LATEX document to include exported table?</a></li>
  1688. <li><a class="reference internal" href="#i-see-a-lot-of-databases-which-are-not-mine-and-cannot-access-them">6.20 I see a lot of databases which are not mine, and cannot access them.</a></li>
  1689. <li><a class="reference internal" href="#in-edit-insert-mode-how-can-i-see-a-list-of-possible-values-for-a-column-based-on-some-foreign-table">6.21 In edit/insert mode, how can I see a list of possible values for a column, based on some foreign table?</a></li>
  1690. <li><a class="reference internal" href="#bookmarks-can-i-execute-a-default-bookmark-automatically-when-entering-browse-mode-for-a-table">6.22 Bookmarks: Can I execute a default bookmark automatically when entering Browse mode for a table?</a></li>
  1691. <li><a class="reference internal" href="#export-i-heard-phpmyadmin-can-export-microsoft-excel-files">6.23 Export: I heard phpMyAdmin can export Microsoft Excel files?</a></li>
  1692. <li><a class="reference internal" href="#now-that-phpmyadmin-supports-native-mysql-4-1-x-column-comments-what-happens-to-my-column-comments-stored-in-pmadb">6.24 Now that phpMyAdmin supports native MySQL 4.1.x column comments, what happens to my column comments stored in pmadb?</a></li>
  1693. <li><a class="reference internal" href="#faq6-25">6.25 (withdrawn).</a></li>
  1694. <li><a class="reference internal" href="#how-can-i-select-a-range-of-rows">6.26 How can I select a range of rows?</a></li>
  1695. <li><a class="reference internal" href="#what-format-strings-can-i-use">6.27 What format strings can I use?</a></li>
  1696. <li><a class="reference internal" href="#how-can-i-easily-edit-relational-schema-for-export">6.28 How can I easily edit relational schema for export?</a></li>
  1697. <li><a class="reference internal" href="#why-can-t-i-get-a-chart-from-my-query-result-table">6.29 Why can&#8217;t I get a chart from my query result table?</a></li>
  1698. <li><a class="reference internal" href="#import-how-can-i-import-esri-shapefiles">6.30 Import: How can I import ESRI Shapefiles?</a></li>
  1699. <li><a class="reference internal" href="#how-do-i-create-a-relation-in-designer">6.31 How do I create a relation in designer?</a></li>
  1700. <li><a class="reference internal" href="#how-can-i-use-the-zoom-search-feature">6.32 How can I use the zoom search feature?</a></li>
  1701. <li><a class="reference internal" href="#when-browsing-a-table-how-can-i-copy-a-column-name">6.33 When browsing a table, how can I copy a column name?</a></li>
  1702. </ul>
  1703. </li>
  1704. <li><a class="reference internal" href="#phpmyadmin-project">phpMyAdmin project</a><ul>
  1705. <li><a class="reference internal" href="#i-have-found-a-bug-how-do-i-inform-developers">7.1 I have found a bug. How do I inform developers?</a></li>
  1706. <li><a class="reference internal" href="#i-want-to-translate-the-messages-to-a-new-language-or-upgrade-an-existing-language-where-do-i-start">7.2 I want to translate the messages to a new language or upgrade an existing language, where do I start?</a></li>
  1707. <li><a class="reference internal" href="#i-would-like-to-help-out-with-the-development-of-phpmyadmin-how-should-i-proceed">7.3 I would like to help out with the development of phpMyAdmin. How should I proceed?</a></li>
  1708. </ul>
  1709. </li>
  1710. <li><a class="reference internal" href="#security">Security</a><ul>
  1711. <li><a class="reference internal" href="#where-can-i-get-information-about-the-security-alerts-issued-for-phpmyadmin">8.1 Where can I get information about the security alerts issued for phpMyAdmin?</a></li>
  1712. <li><a class="reference internal" href="#how-can-i-protect-phpmyadmin-against-brute-force-attacks">8.2 How can I protect phpMyAdmin against brute force attacks?</a></li>
  1713. </ul>
  1714. </li>
  1715. <li><a class="reference internal" href="#synchronization">Synchronization</a><ul>
  1716. <li><a class="reference internal" href="#faq9-1">9.1 (withdrawn).</a></li>
  1717. <li><a class="reference internal" href="#faq9-2">9.2 (withdrawn).</a></li>
  1718. </ul>
  1719. </li>
  1720. </ul>
  1721. </li>
  1722. </ul>
  1723. <h4>Previous topic</h4>
  1724. <p class="topless"><a href="other.html"
  1725. title="previous chapter">Other sources of information</a></p>
  1726. <h4>Next topic</h4>
  1727. <p class="topless"><a href="developers.html"
  1728. title="next chapter">Developers Information</a></p>
  1729. <h3>This Page</h3>
  1730. <ul class="this-page-menu">
  1731. <li><a href="_sources/faq.txt"
  1732. rel="nofollow">Show Source</a></li>
  1733. </ul>
  1734. <div id="searchbox" style="display: none">
  1735. <h3>Quick search</h3>
  1736. <form class="search" action="search.html" method="get">
  1737. <input type="text" name="q" />
  1738. <input type="submit" value="Go" />
  1739. <input type="hidden" name="check_keywords" value="yes" />
  1740. <input type="hidden" name="area" value="default" />
  1741. </form>
  1742. <p class="searchtip" style="font-size: 90%">
  1743. Enter search terms or a module, class or function name.
  1744. </p>
  1745. </div>
  1746. <script type="text/javascript">$('#searchbox').show(0);</script>
  1747. </div>
  1748. </div>
  1749. <div class="clearer"></div>
  1750. </div>
  1751. <div class="related">
  1752. <h3>Navigation</h3>
  1753. <ul>
  1754. <li class="right" style="margin-right: 10px">
  1755. <a href="genindex.html" title="General Index"
  1756. >index</a></li>
  1757. <li class="right" >
  1758. <a href="developers.html" title="Developers Information"
  1759. >next</a> |</li>
  1760. <li class="right" >
  1761. <a href="other.html" title="Other sources of information"
  1762. >previous</a> |</li>
  1763. <li><a href="index.html">phpMyAdmin 4.1.6 documentation</a> &raquo;</li>
  1764. </ul>
  1765. </div>
  1766. <div class="footer">
  1767. &copy; <a href="copyright.html">Copyright</a> 2012 - 2013, The phpMyAdmin devel team.
  1768. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
  1769. </div>
  1770. </body>
  1771. </html>