FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Unable to connect to database server!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Unable to connect to database server! [message #172097 is a reply to message #172095] Sun, 30 January 2011 19:49 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/30/2011 2:38 PM, richard wrote:
> On Sun, 30 Jan 2011 03:43:35 -0800 (PST), netsurfer802 wrote:
>
>> I AM POSTING SOME OF THIS IN ALL CAPS TO HAVE WHAT I'M WRITING
>> PERSONALLY IN
>>
>> THIS POST FROM WHAT I'M COPYING (EXAMPLE FOR CONTENTS ON MY WEB HOST
>> AS WELL
>>
>> AS THE INSTRUCTIONS I WAS GIVEN TO HAVE PHP FILES WORK WITH MY MYSQL
>>
>> DATABASE.)
>> I KEEP GETTING THE ERROR "UNABLE TO CONNECT TO DATABASE SERVER!"
>> WHENEVER I
>>
>> GO TO MY HOMEPAGE WHICH IS WORKING OFF THE /HTDOCS/ADMIN/
>> CATEGORIES.PHP FILE.
>>
>> WHY? WHAT CAN I DO TO CORRECT THIS? THE INSTRUCTIONS SAY TO GO TO
>> THE
>>
>> /ADMIN FOLDER OF MY WEBHOST AND THEN TO CLICK ON THE LINK TO LOG IN
>> WHICH
>>
>> AUTOMATICALLY "CALLS UP" THE /HTDOCS/ADMIN/CATEGORIES.PHP FILE THAT I
>> KEEP
>>
>> GETTING THE ERROR WITH. FIRST I'LL INCLUDE THE INSTRUCTIONS THAT I
>> WAS GIVEN
>>
>> AND HAD FOLLOWED TO THE BEST THAT I KNEW TO...AND THEN I'LL PASTE ALL
>> THE
>>
>
> First, you need to setup an mysql database on the server itself.
> It usually takes the form of database_name, userID, password.
> Database_name is generally the same as the FTP account.

Incorrect. I have many databases on my servers, and none of them are
the same as the ftp account names.

> You should ask your host if they even PHP to begin with, then, how to setup
> the mysql information.
> Once you've done that, you should not have a problem with the script.

They definitely have PHP - or he would have numerous other errors.
Additionally, this is obviously for a course in PHP - not much sense
having a PHP course with no PHP!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Heredoc print to file? Use nowdoc.
Next Topic: Only SPAM!!!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 10:00:49 GMT 2024

Total time taken to generate the page: 0.04876 seconds