Reply to Re: [PHP] mysql error

Your name:

Reply:


Posted by Angelo Zanetti on 10/21/82 11:12

it cant find your host

mysql.timerescue.co.uk

try use an ip address... or try connect via the command line.


Glen Beamson wrote:

>Hi,
>
>I have suddenly started getting an 'unknown host' error when trying to connect via php (see below).
>
>Unknown MySQL Server Host 'mysql.timerescue.co.uk' (0)2005
>
>
>I have not changed any of my hostname/username/password code in the last 6 months and I can still connect to mysql.timerescue.co.uk via the command line interface.
>
>Has anyone seen this before - any ideas at all - just started happening today! :o(
>
>My code says this:
>
>// Connecting, selecting database
>$link = mysql_connect("mysql.timerescue.co.uk", "username", "password")
>or die('Could not connect: ' . mysql_error().mysql_errno());
>
>Many thanks,
>Glen.
>
>Send instant messages to your online friends http://uk.messenger.yahoo.com
>
>

--

Angelo Zanetti
Z Logic
[c] +27 72 441 3355
[t] +27 21 464 1363
[f] +27 21 464 1371
www.zlogic.co.za

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация