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
Add MySQL User
# 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;





