Is it 'exactly' once every 10 times ??

You should check to make sure it's not an 'external' issue.
    - Do you have a 'series' of DNS servers (like 10) that you use to lookup
system names (and 1 of them isn't working properly ?)

Try some other service (like 'pinging' the MySQL server from the PHP system
10 times) to see if you get the same error.

P.S.  You didn't mention what type of system the PHP machine is...

----- Original Message -----
From: "Larbes, James (GEAE, CDI Corp)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 16, 2001 10:20 AM
Subject: mysql and php - Can't Connect To MySQL Server warning


> > I have installed mysql-3.23.38-hp-hpux10.20-hppa1.1 on an hpux10.20 Unix
> > machine.  I also have PHP 4.0.5 installed.  When I run mysql through PHP
> > on my web server, I get a "Can't connect to MySQL server" warning error
> > once every ten times I try to access a database.  Is there something I
> > need to configure to make mysql and php become more stable?
> >
> I have mysql on one machine and php on another...could that be that
> cause of my problem?  I am stumped as to why the error occurs once every
ten
> times mysql is accessed through php.  To me, it should either work all the
> time, or not work at all.
>
> Please help!  (Reply to my email address please, as I am unable to
> subscribe to this mailing list.)
>
> Sincerely,
>
> Jay Larbes
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to