DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

John has posted 11 posts at DZone. View Full User Profile

Add MySQL User

04.10.2006
| 8179 views |
  • submit to reddit
        # add a mysql user (http://dev.mysql.com/doc/refman/5.0/en/grant.html)
grant all privileges on *.* to 'user'@'localhost' identified by 'password' with grant option;
flush priveleges;