solidzh wrote:
2007/8/21, Jay Pipes <[EMAIL PROTECTED]>:
Terry wrote:
Hello,
I want to grant a user all permissions to all DBs on the system as
well as any new DBs that show up. I want to avoid having to modify
permissions everytime a new DB is added. Is there a way to do this?
GRANT SELECT
2007/8/21, Jay Pipes <[EMAIL PROTECTED]>:
> Terry wrote:
> > Hello,
> >
> > I want to grant a user all permissions to all DBs on the system as
> > well as any new DBs that show up. I want to avoid having to modify
> > permissions everytime a new DB is added. Is there a way to do this?
>
> GRANT S
Grant the necessary privileges to each database individually and leave out
> 'mysql'.
>
> Unfortunately, you cannot grant privileges to all databases and revoke
> privileges from one schema ('mysql' in this instance)
> You must enumerate the databases you specifica
a ('mysql' in this instance)
You must enumerate the databases you specifically want to grant the user
privileges to.
GUARD THE mysql SCHEMA WITH YOUR LIFE, PLEASE
- Original Message -
From: "Jay Pipes" <[EMAIL PROTECTED]>
To: "Terry" <[EMAIL PROT
ave out
'mysql'.
Unfortunately, you cannot grant privileges to all databases and revoke
privileges from one schema ('mysql' in this instance)
You must enumerate the databases you specifically want to grant the user
privileges to.
GUARD THE mysql SCHEMA WITH YOUR LIFE, PLEASE
Yep.
Terry wrote:
Just to verify, will that include all new databases?
On 8/20/07, Jay Pipes <[EMAIL PROTECTED]> wrote:
Terry wrote:
Hello,
I want to grant a user all permissions to all DBs on the system as
well as any new DBs that show up. I want to avoid having to modify
permissions every
Just to verify, will that include all new databases?
On 8/20/07, Jay Pipes <[EMAIL PROTECTED]> wrote:
> Terry wrote:
> > Hello,
> >
> > I want to grant a user all permissions to all DBs on the system as
> > well as any new DBs that show up. I want to avoid having to modify
> > permissions everyti
Terry wrote:
Hello,
I want to grant a user all permissions to all DBs on the system as
well as any new DBs that show up. I want to avoid having to modify
permissions everytime a new DB is added. Is there a way to do this?
GRANT SELECT, INSERT, CREATE, ... ON *.* TO 'username'@'hostname'
IDE