Visa ett inlägg
Oläst 2005-08-02, 10:41 #8
zorans avatar
zoran zoran är inte uppkopplad
Mycket flitig postare
 
Reg.datum: Jun 2004
Inlägg: 598
zoran zoran är inte uppkopplad
Mycket flitig postare
zorans avatar
 
Reg.datum: Jun 2004
Inlägg: 598
Citat:
Originally posted by nomicon@Aug 1 2005, 19:20
grant all privileges on databasA.* to userA@localhost identified by 'passwordA';
grant all privileges on databasB.* to userB@localhost identified by 'passwordB';
grant all privileges on *.* to userC@localhost identified by 'passwordC';
flush privileges;

-Martin
Du behöver inte "flush privileges" när du använder grant. Endast ifall du använder "insert" för att skapa användare eller "update" för att ändra lösenord.

/Zoran
zoran är inte uppkopplad   Svara med citatSvara med citat