473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

mysql shuts down during rapid execution of querys

Hello

I am using version 4.0.12-nt of MySQL and when I hit the enter key
rapidly I can't connect to the database. The result is a message is
returned to me from mysql that says I can't connect because the
database is down. If I only hit the 'enter' key once (to execute the
page that my queries are on(their are four queries on this particular
web page)) my queries execute just fine.

We have noticed that this only happens when we:

execute two or more queries, an example of two of those queries would
be:

select seminar_id, title, date_format(date, "%M,%d,%Y") from seminar
where match(text1) against ("kent district library") or match(text2)
against ("kent district library") or match(text3) against ("kent
district library")

select webpage_id, webpage_category, webpage_url from webpages where
match(webpage_content) against ("kent district library")
We have commented out all but one query on our web page and repeated
the same events of rapidly hitting the enter key and much to our
supprise "the database does not shut down, and the single query
executes". Uncomment any of the other querys and WHAM, mysql shuts
down!

The page of which I speak is a php page that - opens the database -
calls mysql_query() with each query and then closes the database after
formating the query results to display on a web page.

We cannot re-create the situation in a previous version of MYSQL.

WE DON'T BELIEVE THAT ITS NECCESSARILY THE QUERYS BECAUSE WE HAVE
NOTICED THAT WE GET THE SAME ERROR MESSAGE "CANNOT CONNECT TO
DATABASE" BOTH AT THE CONNECTION FUNCTION AND AT THE FUNCTION THAT
EXECUTES A QUERY AFTER THE CONNECT HAS EXECUTED SUCCESSFULLY.

We would be every so GREATFULL and FOREVER in DEBT to anyone that
could tell us how we can keep MYSQL from going down. Would it help to
call a timer() event in the beginning of our php page just before the
connect statment to slow things down? We think that perhaps MYSQL is
being OVERWHELMED!!! with request and is shutting itself down! Is
that possible and how could we prevent it?

MANY MANY THANKS to ANYONE that can HELP US!
thx Brian
Jul 19 '05 #1
2 2518
br**********@hotmail.com (Brian) wrote in message news:<f0**************************@posting.google. com>...
"BACKGROUND on 09/11/03"...
I am using version 4.0.12-nt of MySQL and when I execute a web page
that has multiple queries on it I can't connect to the database and
that is because the database has gone down. What's returned to me is
a error that says that I've lost my connection to MYSQL. We have no
idea of why, it was up before we executed the queries.
"WHAT WE FOUND 09/18/03"...
We tried using 2-3 different versions of MYSQL on our windows 2000
server from version 3.23.49-nt and up and continued to have the same
problem.

Our IP loaded the same web application and ran the same web page under
the same conditions as us (but on a LINUX server)with MYSQL version
3.23.49-nt and had no problem at all (that is MYSQL did not go down
while we executed our queries!). WE CONCOLUDED that the problem is
platform specific.

IN SHORT, Win 2000-server sucks for open source products like MYSQL.

Would love to hear anyones opinion.

Much appreciation for any insight.

thx Brian J Stoffer
Jul 19 '05 #2
br**********@hotmail.com (Brian) wrote in message news:<f0**************************@posting.google. com>...
"BACKGROUND on 09/11/03"...
I am using version 4.0.12-nt of MySQL and when I execute a web page
that has multiple queries on it I can't connect to the database and
that is because the database has gone down. What's returned to me is
a error that says that I've lost my connection to MYSQL. We have no
idea of why, it was up before we executed the queries.
"WHAT WE FOUND 09/18/03"...
We tried using 2-3 different versions of MYSQL on our windows 2000
server from version 3.23.49-nt and up and continued to have the same
problem.

Our IP loaded the same web application and ran the same web page under
the same conditions as us (but on a LINUX server)with MYSQL version
3.23.49-nt and had no problem at all (that is MYSQL did not go down
while we executed our queries!). WE CONCOLUDED that the problem is
platform specific.

IN SHORT, Win 2000-server sucks for open source products like MYSQL.

Would love to hear anyones opinion.

Much appreciation for any insight.

thx Brian J Stoffer
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: George Augustino | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.databases.mysql Newsgroup line: comp.databases.mysql MySQL relational database system discussion group. This is a formal Request For...
0
by: Marek Lewczuk | last post by:
Hello group, For everyone who thinks about moving from MySQL to PostgreSQL I have a realy bad news - It's not worth. Why, You may ask... A few days ago I have installed and tested PostgreSQL,...
0
by: flubdgub | last post by:
Hi there, I want to do something ridiculously simple and naturally MySQL is presenting me with problems that the manual doesn't even hint at. Platform is Debian Linux 2.4.21 All I want to do...
0
by: Chen, Mao | last post by:
------_=_NextPart_001_01C35C45.723AEBCE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 Hi everyone, =20
0
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to...
0
by: Peter Morton | last post by:
Hi.. we are running a webserver on IIS with a mysql backend. The mysql service shuts down extrememly frequently with an event log code 7031. Has anyone seen this before. Is it a configuration...
175
by: Sai Hertz And Control Systems | last post by:
Dear all, Their was a huge rore about MySQL recently for something in java functions now theirs one more http://www.mysql.com/doc/en/News-5.0.x.html Does this concern anyone. What I...
5
by: Richard | last post by:
Hi, I have a form that take some time to load due to many comboboxes and at least 8 subforms. When I filter or sort the main form I get an error message and then Access shuts down. They ask if...
0
Coldfire
by: Coldfire | last post by:
Since i cannot show the differences in a two-column like table. I am first putting MS SQL Server 2005 and then MySQL 5.x. MS SQL Server 2005 Brief Overview - SQL Server is a full-fledged...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.