your posted example
Quote:
GRANT ALL PRIVILEGES ON *.* to '%'@localhost IDENTIFIED BY '%';
|
gives access to all dbs, to all users (that mysql recognizes) with any username and password (% is wildcard)
When your changing db privledges you need to be in the client as root (even in windoze). In windows you will login as root if the mysqladmin is running, just do the following:
Code:
mysql -u root mysql
then you can change your db privledges for the user that your server/editors use to login as. i used:
Code:
grant all privileges on eq.* to 'eqemu'@localhost identified by 'test' with grant option;
so my servers login to the database called
eq with the user/pass (
eqemu/
test) thats in c:\winnt\my.ini file (editable right in mysqladmin)