[PHP] unstable execution of mysql_db_query($db, $myQuery)

2001-02-15 Thread Zhu George-CZZ010


I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that
mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, it is like

mysql_db_query($db, $myQuery) or die "Something wrong during query");

1 out of 15 (the same query), it will "die".

Does anyone have any suggestion?

Thanks,
George

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] unstable execution of mysql_db_query($db, $myQuery)

2001-02-15 Thread Joe Sheble (Wizaerd)

try using mysql_query( $qQuery, $dbConnection );

At 10:32 AM 2/15/01 -0600, Zhu George-CZZ010 wrote:

I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that
mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, 
it is like

mysql_db_query($db, $myQuery) or die "Something wrong during query");

1 out of 15 (the same query), it will "die".

Does anyone have any suggestion?

Thanks,
George

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] unstable execution of mysql_db_query($db, $myQuery)

2001-02-15 Thread Martin A. Marques

El Jue 15 Feb 2001 13:32, escribiste:
 I am using MySQL 3.22.32 and PHP 4.01PL2, but it seems that
 mysql_db_query($db, $myQuery) is not quite stable, actually, in my code, it
 is like

 mysql_db_query($db, $myQuery) or die "Something wrong during query");

 1 out of 15 (the same query), it will "die".

Looks like you have a problem with the MySQL configuration.

 Does anyone have any suggestion?

Change to PostgreSQL maybe?

Saludos... :-)

-- 
System Administration: It's a dirty job, 
but someone told I had to do it.
-
Martn Marqus  email:  [EMAIL PROTECTED]
Santa Fe - Argentinahttp://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]