[PHP-DB] Protecting mysql database

2004-03-03 Thread Piet from South Africa
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



Re: [PHP-DB] Protecting mysql database

2004-03-03 Thread Adam Voigt
Why not just stop the database?


On Wed, 2004-03-03 at 09:41, Piet from South Africa wrote:
 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.
-- 

Adam Voigt
[EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Protecting mysql database

2004-03-03 Thread Ricardo Lopes
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:41 PM
Subject: [PHP-DB] 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