Hi,
I tried mysql_connect() function, and it won't reture FALSE if
connection failed. Instead, the script times out after 30 seconds and
displays an Fatal error message "Maximum execution time of 30 seconds
exceeded". For example:
mysql_connect(' ',' '); returns TRUE because mysql logs in the use
ction failed" message from mysql server?
On Sat, 29 Jan 2005 23:01:46 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> On 29 Jan 2005 tom soyer wrote:
>
> > I tried mysql_connect() function, and it won't reture FALSE if
> > connection failed. Instead, th
-0600, Michael Sims
<[EMAIL PROTECTED]> wrote:
> tom soyer wrote:
> > Thanks for the error handling code. I think PHP still has a basic
> > problem. If mysql sever connection times out because wrong username or
> > password was used, then mysql_connect() should return FALSE.
3 matches
Mail list logo