Help - Search - Members - Calendar
Full Version: Database "host" Assistance
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
TylerN
config.php

CODE
<?php
//MySQL information MODIFY IT HERE.
$db_name = "lol wut?";  // Database Name
$host = "localhost"; // Database host (probably won't change)  [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]
$db_user = "lol wut?"; // Database user
$db_password = "lol wut?"; // Database pass
$site_url = "http://xdrx.clanteam.com/";  // URL (make sure slash is at end)
$clan = 'Clan DarKRoaD';
$clan_tag = 'l)R.';
?>


If you can tell me, thank you.
Brandon
QUOTE(TylerN @ Jan 5 2008, 09:19 AM) *
config.php

CODE
<?php
//MySQL information MODIFY IT HERE.
$db_name = "xdrx_clanteam_com_site";  // Database Name
$host = "db"; // Database host (probably won't change)  [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]
$db_user = "xdrx_clanteam_com_sitescript"; // Database user
$db_password = "mypass"; // Database pass
$site_url = "http://xdrx.clanteam.com/";  // URL (make sure slash is at end)
$clan = 'Clan DarKRoaD';
$clan_tag = '(DR)';
?>


If you can tell me, thank you.


$host = "db"; // Database host (probably won't change) [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]

Change That to

$host = "localhost"; // Database host (probably won't change) [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]

Search Before Making Topic as there has been loads of topics on this question
TylerN
QUOTE(Crown @ Jan 5 2008, 10:30 AM) *
$host = "db"; // Database host (probably won't change) [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]

Change That to

$host = "localhost"; // Database host (probably won't change) [THIS IS THE OFFENDING LINE, WHAT DO I CHANGE IT TO?]

Search Before Making Topic as there has been loads of topics on this question


I'm sorry, I didn't realize this was answered already. Either way, i changed the line to
CODE
$host = "localhost";
and it worked. Thank you, and I will try to remember to use the search function next time ^^;.
Brandon
QUOTE(TylerN @ Jan 5 2008, 10:36 PM) *
I'm sorry, I didn't realize this was answered already. Either way, i changed the line to
CODE
$host = "localhost";
and it worked. Thank you, and I will try to remember to use the search function next time ^^;.

Your Welcome wink.gif lol
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.