MYSQL Shutdown
Posted: Tue Apr 11, 2006 3:06 pm
				
				Gents,
MYSQL does not react well to a system crash (this being VMS, only upon power failure) but also a normal systems shutdown. I then discovered the mechanism in MYSQLADMIN and instructed the server to SHUTDOWN (yes - 2x as it advises!). I would have thought shutting the server down twice would be enough, but not so! It still corrupted (at least) 2 of 8 or so tables. Now, I will try to issue a series of FLUSH commands before shuting down to see it I can get a clean exit but it occurs to me this is getting a bit silly - surely we do not need to issue anything up to 10 DCL commands to make this die gracefully?
Can somebody educate me on MYSQL shutdown theory?
Many thanks
Paul
			MYSQL does not react well to a system crash (this being VMS, only upon power failure) but also a normal systems shutdown. I then discovered the mechanism in MYSQLADMIN and instructed the server to SHUTDOWN (yes - 2x as it advises!). I would have thought shutting the server down twice would be enough, but not so! It still corrupted (at least) 2 of 8 or so tables. Now, I will try to issue a series of FLUSH commands before shuting down to see it I can get a clean exit but it occurs to me this is getting a bit silly - surely we do not need to issue anything up to 10 DCL commands to make this die gracefully?
Can somebody educate me on MYSQL shutdown theory?
Many thanks
Paul