/ 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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
-- Create database, user and grant all privileges -- To grant just specific privileges, use the following format:
URL: http://www.apphp.com/index.php?snippet=mysql-create-database-and-assign-user
Comments
