Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help with an Error, maybe my lack of inexperience
The Devils Playp...
post Aug 7 2004, 03:34 AM
Post #1


Newbie [Level 2]
**

Group: Members
Posts: 28
Joined: 31-July 04
From: U.S.A.
Member No.: 331



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
post Aug 7 2004, 03:41 AM
Post #2


Advanced Member
*******

Group: Members
Posts: 119
Joined: 19-July 04
Member No.: 140



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
post Aug 7 2004, 04:34 AM
Post #3


Newbie [Level 3]
***

Group: Members
Posts: 45
Joined: 4-August 04
Member No.: 667



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
post Aug 7 2004, 10:01 AM
Post #4


Privileged Member
*********

Group: Members
Posts: 873
Joined: 30-July 04
Member No.: 246



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
post Aug 9 2004, 10:03 AM
Post #5


Advanced Member
*******

Group: Members
Posts: 114
Joined: 9-August 04
From: Suzhou Jiangsu China
Member No.: 743



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

Topics Topics
  1. Session Start() Problem(5)
  2. Trouble With Emailer.php(6)
  3. Php Parse Error(2)
  4. Fatal Error(3)
  5. Error When Using file_put_contents()(4)
  6. Weird Error Messages In Opera(2)
  7. Validation Error No Insert(3)
  8. Phpbb Install Error(2)
  9. Parse Error(1)
  10. Parse: Error Unexpected T_lnumber(4)
  11. Suppressing Mysql Error In Php(4)
  12. Php Error When Running Script(3)
  13. Php Form Help!(3)
  14. Freetype, Gd And An Error(1)
  15. Uglymonkey Toplist Script(7)
  1. Detect Image Resolution Without Gd(1)
  2. Help Needed With Silly Error(8)
  3. Error Importing Sql Query Via Php(6)
  4. [forum] Double Posting Happening By An Error(3)
  5. Error With Joomla Template(1)
  6. Error On Emailer.php & Smtp.php At Phpbb(2)
  7. Php Fsockopen() Error(14)
  8. Phpbb2 Error(4)
  9. T_string Error Please Assist(5)
  10. Php Objects: Catchable Fatal Error(4)
  11. Mysql Error(3)
  12. Linux/ Apache /mod_rewrite Issue(4)


 



- Lo-Fi Version Time is now: 12th October 2008 - 03:27 PM