/ Published in: MySQL
This is a very simple snippet about how to create a database 1st, a user and then assign some privileges to the user to allow him/her to perform some specific actions like insert, create, update, select etc.
URL: http://www.apphp.com/index.php?snippet=mysql-create-database-and-assign-user