title: MySQL hangs forever on "rehash" command
body: <p>We have a MySQL server running with several databases in it, for different types of data. One of them is a wordpress database. </p>
  
  <p>I can connect ok, "show databases", and "use apples", "use oranges" etc (substitute fruits for our actual databases) but when I do "use wordpress", instead of "database changed", I get</p>
  
  <pre><code>Reading table information for completion of table and column names
  You can turn off this feature to get a quicker startup with -A
  </code></pre>
  
  <p>Sure enough, if I start mysql with an extra -A flag everything seems to work. Then I can "use wordpress" and look at the data. </p>
  
  <p>If I start it with -A and do "use wordpress" it works, then I do "rehash" and it hangs. </p>
  
  <p>Has anybody seen this? What can I do about it? </p>