List:General Discussion« Previous MessageNext Message »
From:Peter Brawley Date:September 17 2008 12:57pm
Subject:Re: valid chars mysql db username
View as plain text  
 >I'm looking at using the "@" symbol

Don't. Restrict yourself to alphanums and '_'.

PB

Res wrote:
>
> Hi All,
>
> Does anyone have a reference to what is regarded a legal valid chars
> for the MySQL database username?
>
> You can imagine what google shows me, everything totally irrelevant, as
> usual. The best I can find is using hyphen and percents...
>
> I'm looking at using the "@" symbol, if I enclose it in quotes as such
> 'foo@stripped'@'localhost'  would this work like with other special
> chars like "%",  in test this works fine, adding, authing, and 
> deleting, but is this legal? Could there be downsides to using this 
> format? Could something I've not considerd break?
>
> TIa
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.169 / Virus Database: 270.6.21/1673 - Release Date: 9/15/2008 6:49 PM
>
>   

Thread
valid chars mysql db usernameRes17 Sep
  • Re: valid chars mysql db usernamePeter Brawley17 Sep
    • Re: valid chars mysql db usernameRes18 Sep
      • Re: valid chars mysql db usernameMr. Shawn H. Corey18 Sep
        • Re: valid chars mysql db usernameRes18 Sep
      • Re: valid chars mysql db usernamePeter Brawley18 Sep
        • Re: valid chars mysql db usernameRes18 Sep