venerdì 23 marzo 2007

Creare e eliminare utente MySQL

Prima leggere qui, anche per quanto riguarda password e privilegi.
Per creare un nuovo utente:

create user nomeUtente identified by 'stringaPassword';
Per eliminare un utente di MySQL si deve fare così:
drop user nomeUtente;

1 commento:

Catello Stefano Cavallaro ha detto...

questa stringa dove la devo inserire?? create user nomeUtente identified by 'stringaPassword';

Inoltre stringaPassword è in md5??

Es.
nome utente: "step"
pass: "1234"