It is currently Fri Mar 29, 2024 12:30 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: database connect broblem
PostPosted: Wed Sep 09, 2009 8:42 am 
Newbie
Newbie

Joined: Wed Sep 09, 2009 8:37 am
Posts: 1
Ok this is the files helping me to connect with mysql

The first

Code:
<?php

//=====================MySQL - Database=================
    $db_user = "geogeo649_ggoi";
    $db_pass = "*******";
    $db_name = "geogeo649_ggoi";
    $db_serv = "66.40.52.169";

    include "config_mysql.php";

?>


The second

Code:
<?php

    $res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
    $resdb = mysql_select_db ( "$db_name",$res );

    return $res;

?>



the problem is , it cant connect to the server i tried everythink - the ip of the subdomein , the db host addres and again its not working ... maybe i miss somethink , because when i tried it on localhost it worked .. any ideas ? :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 10, 2009 4:17 am 
Site Admin

Joined: Fri Aug 22, 2008 10:59 am
Posts: 256
Hello,

Please open the trouble ticket for this issue via Control Open New Ticket menu which is situated under the Help Center section. Then we will be able to assist you further.

Best Regards
WidWool

_________________
Best Regards,
WidWool


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011