Rick,
Thursday, November 14, 2002, 9:26:01 PM, you wrote:

RR> What is the mysql.db table for?

Entries in the table 'db' determine database level privileges.

RR> It looks like it contains user and database permissions of some kind.. 
RR> but.. many of the rows in the "db" table refer to databases and/or users 
RR> that don't exist on my server anymore, which were dropped with "drop 
RR> database".

RR> Also, is the proper way to REMOVE a user from the system to delete them 
RR> from the mysql.user table?  Ie, "delete from user where user='foo'"?

If you take off all database privileges from user, entry in the table
'db' will be deleted. From the table 'user' you must remove users with
DELETE statement.




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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