On 2005-01-02 14:13:49 +0000,
pa***********@btinternet.com said:
I want to be able to only allow root access while I dump the databases,
thus locking out all non-root users ( even remote logins) then allow
all normal users back in after the dump has been done.
How would I go about this please.
However you do this, it's not going to be graceful.
Will these users be aware that you're locking them out?
If you're going to do something like that, it would be far easier to
just change the name of the database first, then do the dump. Then no
one can get at the database whatever their level of access is.
I do this from time to time with some web-based graphical front end
like phpMyAdmin.
That way, you're not messing around with the likes of GRANT and REVOKE
which can be lethal in the wrong hands.
Hope that helps?
--
wayne smallman ][ octane interactive