title: Setting mysql server name with and without www
body: <p>I am using a mysql server on my linux ubuntu 10.04.<br>
  Everything is working fine, when I use <code>example.com</code> as the mysql server name.  </p>
  
  <p>When I use <code>www.example.com</code> as the mysql server name, the connection does not work. Where can I change the settings.
  The URL of my website is working with www and without.</p>
  
  <p>Is the mysql server name a setting in the mysql configuration or is it the hostname of my domain?  </p>