KSausW, Monday, July 29, 2002, 12:47:30 PM, you wrote: K> How can I grant a privilege to a specified user to a specific DB? K> If I grant K> Host="%" K> User="joe" K> in the user table, "joe" can access a l l DBs on the server - even the K> "mysql"-DB.
Table 'user' stores global privileges. For database privileges table 'db' is used. How to set up privileges, look at: http://www.mysql.com/doc/G/R/GRANT.html In your case it would be something like that: GRANT ALL ON database_name.* TO "joe"@"%" IDENTIFIED BY "joe_password"; -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [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