MySQL Forums
Forum List  »  Microsoft SQL Server

Re: Multiple Schemas/Users Supported?
Posted by: Jay Pipes
Date: January 10, 2006 05:13PM

Schemas = Databases
Schemas <> Database Users

In SQL Server, I believe you are referring to the ability to do:

SELECT * FROM my_database.dbo.my_table

correct?

However, AFAIK, a *schema* means a database, not a user.

In MySQL, you can have multiple schemas: simply do:

SELECT fields FROm my_schema.my_table;

You can have multiple users, however, you do not reference the user in your SQL statements. Users are simply authenticated upon login and checked for privileges (permissions, in SQL Server terms) upon query execution.

HTH,

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Written By
Posted
January 10, 2006 11:52AM
Re: Multiple Schemas/Users Supported?
January 10, 2006 05:13PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.