Citat:
Mihailo:
mysql> grant
privilegija on
baza.tabela to
[email protected]
gde je privilegija: select, drop, alter etc.
mysql> grant select on test.whisky to user@localhost;
moze i bolje :)
Code:
mysql> grant select on test.whisky to "user"@"localhost" IDENTIFIED BY "YourPassword"
najbolje je da se naviknes na "user"@"localhost" ovakvog definiranja usera, posto MySQL koristi stringove ispred i iza @ za definiranje hosta i usera.
People who think they know everything tend to irritate those of us who do.