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