How to get mysql hostname on remote server
<pre><code>define('DBHOST','localhost');
define('DBUSER','root');
define('DBPASS','');
define('DBNAME','mozaik-matria');
</code></pre>

<p>The above is part of <code>çonfig.php</code> and it works on localhost.
Moving on remote server I cannot find any info (using cpanel and phpMyAdmin) about <code>DBHOST</code> parameter.</p>

<p>I tried with pure url (<code>http://example.com/</code>) and subdomain (<code>http://subdomain.example.com/</code>) - without success:
<code>SQLSTATE[HY000] [2005] Unknown MySQL server host...</code></p>