473,508 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SLEEP command in mysql

------_=_NextPart_001_01C3555C.697B5893
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

Is there a 'sleep' command in mysql? I'm trying to take a backup of =
MySQL instance from a ksh script, and I want to lock all the tables =
before I take a back of all datafiles. So, once I issue the lock tables =
command and exit the session to take backup of the OS files, the session =
(and there by the lock) is lost. So, I'm trying to issue a lock command =
from one script and let it sleep till my backup is completed. Any help =
is appreciated.

Thankx in advance,
SB

------_=_NextPart_001_01C3555C.697B5893--
Jul 19 '05 #1
0 2647

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

Similar topics

0
3108
by: Fraser Campbell | last post by:
Hi, We're trying enter polish language into mysql. My understanding is that polish language uses iso-8859-2 character set. I am cutting and pasting polish text from a web browser (Konqueror)...
0
1487
by: Subhakar Burri | last post by:
------_=_NextPart_001_01C3555C.697B5893 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Is there a 'sleep' command in mysql? I'm trying to...
1
3228
by: john | last post by:
I am trying to set up a shtml page that will take 10 seconds for it to load to slow down some annoying spiders I have on my website. The shtml looks like below: <html> <head> <title>You are...
6
14585
by: Paul Deverson | last post by:
I'm a newbie to MySQL and am really confused about when I should be using the Command Line Client and when the DOS prompt. I'm using Windows XP and I've just installed MySQL 4.1.10. I can use...
5
3089
by: Sinan Nalkaya | last post by:
hello, i need a function like that, wait 5 seconds: (during wait) do the function but function waits for keyboard input so if you dont enter any it waits forever. i tried time.sleep() but when...
4
2154
by: Susan | last post by:
On our production server, we have a great deal of data. To improve performance, we give the user a "page" of data at a time and then spawn count of the total number of products based on the query...
2
13030
by: Chris Song | last post by:
Hello, I'v installed mysql 5.0 (MySQL-server-standard-5.0.27-0.rhel4.i386.rpm) on RedHat AS4. When I start mysql through command line (i.e. /usr/bin/mysqld_safe --datadir=/var/lib/mysql...
19
14951
by: John | last post by:
The table below shows the execution time for this code snippet as measured by the unix command `time': for i in range(1000): time.sleep(inter) inter execution time ideal 0 ...
1
6261
by: Arun Srinivasan | last post by:
Just want to know if there is a sleep command I could use to slow down the process in a stored procedure. I know people would've asked this question. I googled it, but everyone said that they...
0
7229
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
7129
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
7333
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,...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
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...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.