mysql error
| From: | Glen Beamson | Date: | Thu, 31 Mar 2005 15:38:58 +0000 |
| Subject: | mysql error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212023@lists.php.net to get a copy of this message | ||
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