I just started trying to learn mysql so Im new to this.
I have a question about granting user rights to objects though...
for example
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON db_name.*
-> TO 'user'
-> IDENTIFIED BY 'password';
If i want to grant privileges on a user that already exists, I will probably not have any idea what their password is. I tried to grant privileges on a user without the password but the grant statement fails when i do that.
Am I missing something?
thanks for any comments...
I have a question about granting user rights to objects though...
for example
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON db_name.*
-> TO 'user'
-> IDENTIFIED BY 'password';
If i want to grant privileges on a user that already exists, I will probably not have any idea what their password is. I tried to grant privileges on a user without the password but the grant statement fails when i do that.
Am I missing something?
thanks for any comments...