On Sun, Jan 22, 2012 at 3:47 PM, Olaf van der Spek <[email protected]> wrote:
> On Sun, Jan 22, 2012 at 1:32 PM, Henrik Ingo <[email protected]> 
> wrote:
>> But upon thinking it seems one could simply require users to pass the
>> catalog name prepended to the username and dot as separator. This
>> would also allow to have identically named users in different
>> catalogs, which is clearly desired.
>
> Why dot? Isn't dot allowed in catalog / schema names?

If using this scheme, it would have to be disallowd in catalog names.
For schema names it wouldn't make a difference (which is a deliberate
design goal).


>> Examples:
>>
>> drizzle --host=shared.host --user=mycatalog.hingo --password=sshhh myschema
>
> Why not --catalog=mycatalog?

Yes, sorry for leaving out context. This would of course be possible.
Stewart was more thinking of ways to provide some way to connect to a
catalog that is also backward compatible, such as using mysql client,
or mysql php and jdbc drivers.

So it perhaps makes more sense to think of the above example as:

mysql --host=shared.host --user=mycatalog.hingo --password=sshhh myschema

henrik

-- 
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to