PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Permission to create DB
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Permission to create DB

Réponse
 
LinkBack Outils de la discussion
Vieux 25/10/2007, 13h01   #1
Florian Lindner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Permission to create DB

Hallo,
I use phpMyAdmin (most recent version) to adminstrate an MySQL 5.0 server.

I have created an user wuhr who permission for the DB wuhr\_%:
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY
TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE

Now I'm suprised that the user is permitted to create new databases. CREATE
gives according to phpMyAdmin the permission to create tables and DBs. Now
I want to the user to be able to create tables but not DBs.

How can I do that?

Thanks,

Florian
  Réponse avec citation
Vieux 25/10/2007, 20h35   #2
Paul Lautman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Permission to create DB

Florian Lindner wrote:
> Hallo,
> I use phpMyAdmin (most recent version) to adminstrate an MySQL 5.0
> server.
>
> I have created an user wuhr who permission for the DB wuhr\_%:
> SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
> TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER
> ROUTINE, EXECUTE
>
> Now I'm suprised that the user is permitted to create new databases.
> CREATE gives according to phpMyAdmin the permission to create tables
> and DBs. Now I want to the user to be able to create tables but not
> DBs.
>
> How can I do that?
>
> Thanks,
>
> Florian


Set the user's scope to be a particular database (or set of databases).


  Réponse avec citation
Vieux 26/10/2007, 10h26   #3
Florian Lindner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Permission to create DB

Paul Lautman wrote:

> Florian Lindner wrote:
>> Hallo,
>> I use phpMyAdmin (most recent version) to adminstrate an MySQL 5.0
>> server.
>>
>> I have created an user wuhr who permission for the DB wuhr\_%:
>> SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
>> TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER
>> ROUTINE, EXECUTE
>>
>> Now I'm suprised that the user is permitted to create new databases.
>> CREATE gives according to phpMyAdmin the permission to create tables
>> and DBs. Now I want to the user to be able to create tables but not
>> DBs.
>>
>> How can I do that?
>>
>> Thanks,
>>
>> Florian

>
> Set the user's scope to be a particular database (or set of databases).


Sorry, I don't really can follow you. What's scope in this context?

Thanks for details,

Florian
  Réponse avec citation
Vieux 26/10/2007, 11h27   #4
Captain Paralytic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Permission to create DB

On 26 Oct, 10:26, Florian Lindner <Florian.Lind...@xgm.de> wrote:
> Paul Lautman wrote:
> > Florian Lindner wrote:
> >> Hallo,
> >> I use phpMyAdmin (most recent version) to adminstrate an MySQL 5.0
> >> server.

>
> >> I have created an user wuhr who permission for the DB wuhr\_%:
> >> SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
> >> TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER
> >> ROUTINE, EXECUTE

>
> >> Now I'm suprised that the user is permitted to create new databases.
> >> CREATE gives according to phpMyAdmin the permission to create tables
> >> and DBs. Now I want to the user to be able to create tables but not
> >> DBs.

>
> >> How can I do that?

>
> >> Thanks,

>
> >> Florian

>
> > Set the user's scope to be a particular database (or set of databases).

>
> Sorry, I don't really can follow you. What's scope in this context?
>
> Thanks for details,
>
> Florian- Hide quoted text -
>
> - Show quoted text -


The scope within which the user may operate. As documented in the
manual.

  Réponse avec citation
Vieux 26/10/2007, 17h03   #5
Florian Lindner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Permission to create DB

Captain Paralytic wrote:

> On 26 Oct, 10:26, Florian Lindner <Florian.Lind...@xgm.de> wrote:
>> Paul Lautman wrote:
>> > Florian Lindner wrote:
>> >> Hallo,
>> >> I use phpMyAdmin (most recent version) to adminstrate an MySQL 5.0
>> >> server.

>>
>> >> I have created an user wuhr who permission for the DB wuhr\_%:
>> >> SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
>> >> TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER
>> >> ROUTINE, EXECUTE

>>
>> >> Now I'm suprised that the user is permitted to create new databases.
>> >> CREATE gives according to phpMyAdmin the permission to create tables
>> >> and DBs. Now I want to the user to be able to create tables but not
>> >> DBs.

>>
>> >> How can I do that?

>>
>> >> Thanks,

>>
>> >> Florian

>>
>> > Set the user's scope to be a particular database (or set of databases).

>>
>> Sorry, I don't really can follow you. What's scope in this context?
>>
>> Thanks for details,
>>
>> Florian- Hide quoted text -
>>
>> - Show quoted text -

>
> The scope within which the user may operate. As documented in the
> manual.


Is it possible that you give me an pointer where it's to find in the manual?

Thanks,

Florian
  Réponse avec citation
Vieux 26/10/2007, 23h47   #6
Gordon Burditt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Permission to create DB

>>> >> I have created an user wuhr who permission for the DB wuhr\_%:
>>> >> SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
>>> >> TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER
>>> >> ROUTINE, EXECUTE
>>>
>>> >> Now I'm suprised that the user is permitted to create new databases.
>>> >> CREATE gives according to phpMyAdmin the permission to create tables
>>> >> and DBs. Now I want to the user to be able to create tables but not
>>> >> DBs.
>>>
>>> >> How can I do that?
>>>
>>> > Set the user's scope to be a particular database (or set of databases).
>>>
>>> Sorry, I don't really can follow you. What's scope in this context?
>>>
>>> Thanks for details,
>>>

>> The scope within which the user may operate. As documented in the
>> manual.

>
>Is it possible that you give me an pointer where it's to find in the manual?


User privileges have scope. A privilege can apply globally, to a
database, or to specific tables, depending on the privilege (It
does not make sense to grant "SHUTDOWN" privilege on a specific
table only) and how you GRANTed it. For example, you could grant
CREATE only on a specific database. Look at documentation for the
GRANT command for details.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h42.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14998 seconds with 14 queries