On Wed, 20 Aug 2003 21:31:48 -0700 Jon Drukman <[EMAIL PROTECTED]> wrote:
> mysql_error is not set when mysql_connect fails, because there is no > actual mysql resource to get the error message from. yes, there is no mysql resource at this moment. just don't specify it and mysql_error() will tell something like "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)". --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]