Hi,

at a "@" before the command where you want to supress the error message:

I.E.

@mysql_connect("host",......);

Regards,
Jorge

MySQL Development Team
    __  ___     ____ __   __
   /  |/  /_ __/ __/ __ \/ /   Jorge del Conde <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\____/ Mexico City, Mexico
        <___/
----- Original Message -----
From: "samsom, debra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 11:28 AM
Subject: Turn off MySql Warning Messages


> I would Like to Turn Off the following MySQL Connect Warning message.
Any
> Suggestions???
>
> Warning: MySQL Connection Failed: Can't connect to MySQL server on
> 'localhost' (10061) in e:\program files\apache
> group\apache\htdocs\dwg\dwg.php on line 22
> Server Currently Unavailable
>
> This is the code that is returning the above error message.
>
> mysql_connect("localhost","root","")
>     or die ("Server Currently Unavailable");
>
> Debra Samsom
> Bristol Aerospace Ltd.
> (204) 775-8331 3402
> [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