On Mon, 27 Dec 2004, Jeff Lasman wrote:

> On Monday 27 December 2004 02:57 pm, Gerald Waugh wrote:
>
> > Since upgrading to php-5.0.3 & mySQL 4.1.7 we have problems running a
> > script snipet below, it worked fine before the upgrade.
> >
> > <snipet>
> > $db_server = "localhost";
> > $db_user = "user";
> > $db_pass = "password";
> > $db_name = "db_name";
>
> Gerald, you didn't mention what error, if any, you're getting.

<b>Fatal error</b>:  Call to undefined function:  mysql_connect() in
<b>fix_attributes.php</b> on line <b>8</b><br>

> Have you tried "127.0.0.1" instead of "localhost"?  I've seen that
> mentioned on various groups over the last month or so.  I don't know if
> it'll help in your case, but it probably won't hurt.

I'll try that!

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699
_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to