PHWinfo banniere

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

Réponse
 
LinkBack Outils de la discussion
Vieux 17/08/2007, 11h52   #1
krishna chandra prajapati
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut DROP DATABASE

hi all,

Does drop database command removes all the users permissions related with
that databases or those user permissions has to be revoke manually.

Regards,
Krishna

  Réponse avec citation
Vieux 17/08/2007, 11h56   #2
Aleksandar Bradaric
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DROP DATABASE

Hi,

> Does drop database command removes all the users permissions related with
> that databases or those user permissions has to be revoke manually.


DROP DATABASE does not remove the privileges. You have to
remove that separately.


Best regards,
Aleksandar

  Réponse avec citation
Vieux 17/08/2007, 12h07   #3
krishna chandra prajapati
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: DROP DATABASE

Hi Bradaric,

On my system innodb storage engine is used. If i drop all the databases even
then also i cannot reclaim the free space. For that i need to remove the
ibdata , ib_logfile0, ib_logfile1 and other databases folder. then restart
mysql.

What will be the impact if i don't remove the users privileges. Does mysql
will restart successfully or not. OR should i remove the users privileges
before dropping the database.

Please guide me.
Regards,
krishna



On 8/17/07, Aleksandar Bradaric <bradaric@gmail.com> wrote:
>
> Hi,
>
> > Does drop database command removes all the users permissions related

> with
> > that databases or those user permissions has to be revoke manually.

>
> DROP DATABASE does not remove the privileges. You have to
> remove that separately.
>
>
> Best regards,
> Aleksandar
>
>


  Réponse avec citation
Vieux 17/08/2007, 12h12   #4
Aleksandar Bradaric
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re[2]: DROP DATABASE

Hi,

> What will be the impact if i don't remove the users privileges. Does mysql
> will restart successfully or not. OR should i remove the users privileges
> before dropping the database.


It will restart sucessfully. The only impact I can see is
that next time a database with the same name is created, the
not-removed users will have access to it.


Best regards,
Aleksandar

  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 13h05.


Édité par : vBulletin® version 3.7.2
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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08358 seconds with 12 queries