title: 504 Gateway Timeout error while selecting 300,000 rows from MySQL database
body: <p>I have a table orders with 30000rows. I am using Linode Server with 2GB RAM</p>
  
  <p>but when i executed my query using phpmyadmin it give me 504 Gatetimeout Error</p>
  
  <pre><code>SELECT * FROM `orders`
  </code></pre>
  
  <p>I don't understand what's is the problem? i am getting that error you can see the image below</p>
  
  <p><a href="https://i.stack.imgur.com/GJmSv.png" rel="nofollow"><img src="https://i.stack.imgur.com/GJmSv.png" alt="enter image description here"></a></p>