title: Best way to connect to MySQL locally?
body: <p>MySQL offers many ways (on Windows) to connect to it, those are:</p>
  
  <ul>
  <li>Shared memory</li>
  <li>Named pipes</li>
  <li>TCP/IP</li>
  </ul>
  
  <p>My question is, if MySQL will be run on the same machine of the web server, then which method is best for security and performance?</p>
  
  <p>P.S. This is a one web server scenario, no web farm.</p>
  
  <p>Thanks</p>