5 Replies - 18473 Views - Last Post: 03 May 2007 - 01:09 PM Rate Topic: -----

#1 henry123  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-April 07

A link to the server could not be established

Posted 15 April 2007 - 07:23 AM

:blink:

i have a problem with my php, on my site it keeps on saying Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/export/www/hosting/longshot1234/config.php on line 3

and it wont let me do anything, ive looked on the config.php page but i cant see any problem, please help me!

thanks

btw, the site is a mafia game

~henry123

Is This A Good Question/Topic? 0
  • +

Replies To: A link to the server could not be established

#2 eLliDKraM  Icon User is offline

  • Pepè Le Pewn
  • member icon

Reputation: 6
  • View blog
  • Posts: 6,565
  • Joined: 13-August 05

Re: A link to the server could not be established

Posted 15 April 2007 - 07:59 AM

...

wrong forum, read the rules.
Was This Post Helpful? 0
  • +
  • -

#3 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: A link to the server could not be established

Posted 15 April 2007 - 05:00 PM

Welcome to dream in code! Glad you decided to join.
Was This Post Helpful? 0
  • +
  • -

#4 MarkoDaGeek  Icon User is offline

  • Dirty Technophile
  • member icon

Reputation: 11
  • View blog
  • Posts: 11,158
  • Joined: 13-October 01

Re: A link to the server could not be established

Posted 15 April 2007 - 06:42 PM

Hah.

Allow me to move this to the PHP forum Henry.

Welcome.
Was This Post Helpful? 0
  • +
  • -

#5 Styx  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 192
  • Joined: 04-March 07

Re: A link to the server could not be established

Posted 18 April 2007 - 03:47 PM

Check to make sure the database actually exists or that you are entering the database name correctly.
Was This Post Helpful? 0
  • +
  • -

#6 Darth_Ergo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 03-May 07

Re: A link to the server could not be established

Posted 03 May 2007 - 01:09 PM

A Little more code might help...


Yes I'm new here, and yes that reply is prob uncalled for, but I figure if I am here anyway, and can help I may as well. Given this topic and the fact I am pretty good with server side mysql and making php talk to it, I would pop in and see if I could help. However, with out seeing the code, it's kinda hard to help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1