Tuesday, March 6, 2012

Re: Insert Into User

Great Tony!
Following your tip I could manage to produce the same result as the
old SQL.
Here is the code updated:
CREATE USER 'testuser'@'localhost';
SET PASSWORD FOR 'testuser'@'localhost' = PASSWORD('123');
GRANT ALL ON testdb.* TO 'testuser'@'localhost';
Thank you!
PS: Is it possible to mark this thread as solved?

No comments:

Post a Comment