Create the record for the user in the user table (do not forget to do password=PASSWORD('pastext')) Then insert a record in the db table with the db name you want them to access and the options.
HTH. JFernand ** sql ** -----Original Message----- From: John Meyer [mailto:johnmeyer_1978@;yahoo.com] Sent: October 31, 2002 16:49 To: [EMAIL PROTECTED] Subject: Creating users through SQL How do I create users for a specific database using SQL? --------------------------------------------------------------------- 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