It is currently Thu Oct 19, 2017 6:18 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: For MySQL Database what server name freehostia.com is using?
PostPosted: Fri Sep 02, 2011 3:35 am 
Newbie
Newbie

Joined: Fri Sep 02, 2011 2:12 am
Posts: 1
To whom it may concern,

(1) I have created MySQL database using phpMyAdmin at freehostia.com MySQL database and succeded in creating 3 - Tables but now using php code I want to access that database. In the Book: "Teach Yourself Web Design Vissualy" Auther "Rob Huddleston" In page 303 of the said book he has used the following php code for localhost:-

Code:
<?php

mysql_connect('localhost', 'root');
mysql_select_db('tyvdata');  // 'tyvdata' is the name of the MySQL database

?>



(2) - My question is:- In place of 'localhost' (server) in freehista.com (which is a remote server) what server name I should use to 'connect' to my database?

Kuljit Nikhanj


Top
 Profile  
 
 Post subject: Re: For MySQL Database what server name freehostia.com is us
PostPosted: Fri Sep 02, 2011 10:46 am 
Site Admin

Joined: Sun Jun 12, 2011 3:37 pm
Posts: 12
Hello,

Where are currently using several MySQL server hosts. From the MySQL section in your Control Panel, you can see the one, assigned to your account. If you have any troubles, please open a new support ticket from the Help section of your Control Panel, and we will tell you the right server. Thank you.

Best Regards,
Bob Dean


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