PageRenderTime 66ms CodeModel.GetById 5ms app.highlight 46ms RepoModel.GetById 1ms app.codeStats 1ms

/phpmyadmin/doc/html/faq.html

Relevant Search: With Applications for Solr and Elasticsearch

For more in depth reading about search, ranking and generally everything you could ever want to know about how lucene, elasticsearch or solr work under the hood I highly suggest this book. Easily one of the most interesting technical books I have read in a long time. If you are tasked with solving search relevance problems even if not in Solr or Elasticsearch it should be your first reference. Amazon Affiliate Link
https://github.com/Linaida/Projet_mabox
HTML | 1801 lines | 1781 code | 20 blank | 0 comment | 0 complexity | f766f5e0ee4ccddb4022df74dea3c1ed MD5 | raw file

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

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

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