if you want to close the whole database for a period, and that _NOBODY_ have access, just shutdown the service, and prevent it from starting the next time you restart your operative system. :) you could make mysql to log more than it normaly does to the logs and then analyse the log. You can even monitor the logs and when something happend (like a login) send an email or sms to the administrator. I dont know how to change which information is store in the logs, look at the mysql documentation, it have to be there. ----- Original Message ----- From: "Piet from South Africa" <pieterdt@xxxxxxxxxxxx> To: <php-db@xxxxxxxxxxxxx> Sent: Wednesday, March 03, 2004 2:41 PM Subject: Protecting mysql database > Hi > > Is there a way that an alert or something can be generated when a mysql > database is being accessed in any way. > > I want to close the whole database for a period, and nobody may access the > database via phpadmin or anything else > > Appreciate your input on this one. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php