Niall,
Wednesday, June 05, 2002, 1:53:59 PM, you wrote:
NM> I am just wondering is there a sysusers / systables table in mySQL (like
NM> SQL Server).
NM> I am creating an multi user script whereby users will be able to create
NM> their own db on a linux box, but I will be only allowing one database per
NM> user. I would like to do a lookup on a system table if it exists or if it
NM> doesnt I will create a table to model this.
I don't know how privilege system works in SQL Server, but in the
MySQL there are some grant tables: 'user', 'db', 'host', 'tables_priv',
'columns_priv'. Privileges that are specified in the 'user' table
apply to all databases on the server. For more detail about privilege
system in MySQL look at:
http://www.mysql.com/doc/P/r/Privileges.html
http://www.mysql.com/doc/G/R/GRANT.html
http://www.mysql.com/doc/R/e/Request_access.html
http://www.mysql.com/doc/R/e/Request_access.html
NM> Thanks
NM> Niall
--
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