title: How to test which port MySQL is running on and whether it can be connected to?
body: <p>I have installed MySQL and even logged in there as a user. </p>
  
  <p>But when I try to connect like this:</p>
  
  <pre><code>http://localhost:3306
  mysql://localhost:3306
  </code></pre>
  
  <p>Neither works.  Not sure if both are supposed to work, but at least one of them should :)</p>
  
  <p>How can I make sure that the port is indeed 3306?  Is there a linux command to see it somehow?
  Also, is there a more correct way to try it via a url?</p>