Jump to content

MySQL connection error


bolducfr

Recommended Posts

Hi nice free hosting btw!!

 

okay so here is my problem, I've been trying for weeks to find a hosting that let us connect remotely. Finally I find you, I try but still not working. So I have this team on a game (warcraft III) and we use a public bot to host games. And to track stats and stuff, we can use a MySQL database. But I think we need to connect remotly and GoDaddy doesn't allow it.

 

So in the config.php file of that bot, I have to enter the fallowing:

 

$host = '';
$username = '';
$password = '';
$databasename = '';

 

My account name here is dilstats

 

So I edit with the fallowing:

 

$host = 'dilstats.heliohost.org';
$username = 'dilstats_admin';
$password = '******';
$databasename = 'dilstats_stats';

 

And when I go to my website, I get this:

 

Link

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'dilstats.heliohost.org' (4) in /home/content/b/d/t/bdtech/html/dil/stats/config.php on line 144
Not connected : Can't connect to MySQL server on 'dilstats.heliohost.org' (4)

 

 

Any ideas? Ty in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...