Clarify your question ... are you trying to drop TABLES, DATABASES, or
modify user privileges?

If you are trying to modify user privileges, use GRANT or REVOKE.

----- Original Message -----
From: "Daniel Curry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 6:26 PM
Subject: need help on DROP.



  I am unable to find the specific DROP command to remove only test@%,
test\_%@%,
snort@localhost, and snort@%.

  I am trying to clean up my db information.

Thank you.


mysql> select * from db;
+-----------+----------+------------+-------------+-------------+-----------
--+-------------+-------------+-----------+------------+-----------------+--
----------+------------+
| Host      | Db       | User       | Select_priv | Insert_priv |
Update_priv | Delete_priv | Create_priv | Drop_priv | Grant_priv |
References_priv | Index_priv | Alter_priv |
+-----------+----------+------------+-------------+-------------+-----------
--+-------------+-------------+-----------+------------+-----------------+--
----------+------------+
| %         | test     |            | Y           | Y           |
Y           | Y           | Y           | Y         | N          |
Y               | Y          | Y          |
| %         | test\_%  |            | Y           | Y           |
Y           | Y           | Y           | Y         | N          |
Y               | Y          | Y          |
| localhost | snort    | snort      | Y           | Y           |
Y           | Y           | Y           | N         | N          |
N               | N          | N          |
| %         | snort    | snort      | Y           | Y           |
Y           | Y           | Y           | N         | N          |
N               | N          | N          |
| localhost | snort_db | snort      | Y           | Y           |
Y           | Y           | N           | N         | N          |
N               | N          | N          |
| %         | snort_db | snort      | Y           | Y           |
Y           | Y           | N           | N         | N          |
N               | N          | N          |
+-----------+----------+------------+-------------+-------------+-----------
--+-------------+-------------+-----------+------------+-----------------+--
----------+------------+
6 rows in set (0.00 sec)

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to