IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Help with an Error

, maybe my lack of inexperience


The Devils Playp...
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 28
Joined: 31-July 04
From: U.S.A.
Member No.: 331



Post #1 post Aug 7 2004, 03:34 AM
Warning: mysql_connect(): Unknown MySQL Server Host 'lee-kelly' in /home/thedevil/public_html/std/promisance.php3 on line 41
MySQl Connection Problem!


I keep getting this... I figured well obviously the error is in the promisance.php fiel but i searched it and all files surrounding it and couldnt find it. Is there somewhere else this error could/would be??
Go to the top of the page
+Quote Post
chinfo
no avatar
Advanced Member
*******
Group: Members
Posts: 119
Joined: 19-July 04
Member No.: 140



Post #2 post Aug 7 2004, 03:41 AM
It seems its the SQL connection that has a problem. You're server host is "Lee-Kelley," but the default server host for Trap17 is "localhost" you can try to use that.
Go to the top of the page
+Quote Post
Gamesquare
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 45
Joined: 4-August 04
Member No.: 667



Post #3 post Aug 7 2004, 04:34 AM
Well, it doesn't seem to recognize lee-kelly as a valid MySQL server. Use localhost.
Go to the top of the page
+Quote Post
Spectre
no avatar
Privileged Member
*********
Group: Members
Posts: 873
Joined: 30-July 04
Member No.: 246



Post #4 post Aug 7 2004, 10:01 AM
When helping someone, please don't re-post exactly what another user has already said. It just makes it look like you're copying them.

The Devils Playpen, as has been said, use either 'localhost' if you are running the scripts on the same server that MySQL is on, 'trap17.com', or Trap 17's public IP address, which you should have been given when you got hosting.
Go to the top of the page
+Quote Post
LuciferStar
no avatar
Advanced Member
*******
Group: Members
Posts: 114
Joined: 9-August 04
From: Suzhou Jiangsu China
Member No.: 743



Post #5 post Aug 9 2004, 10:03 AM
resource mysql_connect ( [string server [, string username [, string password [, bool new_link [, int client_flags]]]]])

first sever name,then username,password is followed,others can be ignored
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   3 Shackman 8,882 30th August 2004 - 06:33 PM
Last post by: DataHead
No new   17 stevey 8,991 4th November 2009 - 01:17 AM
Last post by: Soviet Rathe
No New Posts 6 BlueReign 5,218 18th August 2004 - 08:38 PM
Last post by: Aero147
No New Posts   2 eniranjee 3,852 19th February 2009 - 12:14 PM
Last post by: iG-Pradip Jadhav
No New Posts 5 MusicOnly 1,176 7th February 2007 - 08:07 PM
Last post by: MusicOnly
No New Posts   1 Tenshi 249 29th May 2009 - 06:24 PM
Last post by: jlhaslip
No New Posts   2 Dawid 5,226 20th October 2004 - 07:04 PM
Last post by: serverph
No New Posts   3 Danieluchis 4,414 24th October 2004 - 07:15 PM
Last post by: Danieluchis
No New Posts   4 guangdian 4,474 26th October 2004 - 07:11 AM
Last post by: Hamtaro
No New Posts   2 patrickcurl 752 23rd August 2008 - 02:56 AM
Last post by: OpaQue
No New Posts   2 DMA 2,631 9th November 2004 - 02:08 AM
Last post by: DMA
No New Posts   3 Oni_BlueEyes 4,601 11th November 2004 - 05:49 PM
Last post by: Oni_BlueEyes
No New Posts   2 BWiZ 3,344 15th November 2004 - 07:24 AM
Last post by: BWiZ
No New Posts   5 Oni_BlueEyes 3,816 15th November 2004 - 08:26 AM
Last post by: wassie
No New Posts   3 DjLuki 704 7th July 2006 - 06:17 AM
Last post by: Albus Dumbledore


 



RSS Open Discussion Time is now: 21st November 2009 - 10:35 PM

Web Hosting Powered by ComputingHost.com.