Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
PHP Forum
>
Script Error! Database Hostname - Edited by Script
Link Back
Thread Tools
Script Error! Database Hostname - Edited by Script
06-27-2008, 12:06 PM
#
1
(
permalink
)
Script Error! Database Hostname - Edited by Script
IntellectToday
Average Talker
Posts: 17
Name: Michael
Location: http://www.puretalkforum.com
Talkupation:
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!
__________________
PureTalkForum Debate & Discussion Forum
|
Directory
Support The Freedom of Information and Education
|
Thousands of Games! Free!
When You
Register
, These Ads Go Away!
06-27-2008, 02:59 PM
#
2
(
permalink
)
Re: Script Error! Database Hostname - Edited by Script
xbit
Junior Talker
Posts: 4
Talkupation:
Try:
$db_server = $intellecttoday.'intellecttoday.org';
06-27-2008, 03:23 PM
#
3
(
permalink
)
Re: Script Error! Database Hostname - Edited by Script
rogem002
Webmaster Talker
Posts: 611
Name: Mike
Location: United Kingdom
Talkupation:
or
$db_server = 'localhost';
__________________
PHP Code:
Add_Talkupation
(
'rogem002'
);
// Because sharing is awesome!
« Reply to
Script Error! Database Hostname - Edited by Script
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Coding Talk
>
PHP Forum
>
Script Error! Database Hostname - Edited by Script
Thread Tools
Show Printable Version
Email this Page
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
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
Web Templates
|
Text Link Brokers
|
Stock Photos
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
0.12205
seconds with
12
queries