Reply
Script Error! Database Hostname - Edited by Script
Old 06-27-2008, 12:06 PM Script Error! Database Hostname - Edited by Script
IntellectToday's Avatar
Average Talker

Posts: 17
Name: Michael
Location: http://www.puretalkforum.com
Quote:
Database connection failed due to Unknown MySQL server host 'intellecttodayorg'
$db_server - this is where I am supposed to type the hostname for the database.

So, I replace that with the hostname, as such:
$intellecttoday.intellecttoday.org

However, the script seems only to want to take the last part of that, and get rid of the periods, as seen above.

What would I need to do to resolve such a problem?

Thank you!
IntellectToday is offline
Reply With Quote
View Public Profile Visit IntellectToday's homepage!
 
When You Register, These Ads Go Away!
Old 06-27-2008, 02:59 PM Re: Script Error! Database Hostname - Edited by Script
Junior Talker

Posts: 4
Try:

$db_server = $intellecttoday.'intellecttoday.org';
xbit is offline
Reply With Quote
View Public Profile
 
Old 06-27-2008, 03:23 PM Re: Script Error! Database Hostname - Edited by Script
rogem002's Avatar
Webmaster Talker

Posts: 611
Name: Mike
Location: United Kingdom
or
$db_server = 'localhost';
__________________
PHP Code:
Add_Talkupation('rogem002'); // Because sharing is awesome! 
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Reply     « Reply to Script Error! Database Hostname - Edited by Script
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12205 seconds with 12 queries