title: Connecting to mysql from your server
body: <p>I am trying to upload a portfolio site which uses a mysql Database, I have been just Xampp for testing it, but now I wanna upload and I keep getting can't connect to DB when I upload to my site, let me know what I need to put instead of local to connect to schellshockdesign.com
   thanks</p>
  
  <pre><code>&lt;?php
  //connect to database
  $db = mysql_connect( 'localhost', 'blog_ss_user', 'secret' );
  //choose the right DB
  mysql_select_db( 'schells_portfolio', $db ) or die( 'could not connect to DB' );
  </code></pre>