Mega Code Archive

 
Categories / MySQL / User Permission
 

Create a second access to the database, one with fewer privileges

CREATE DATABASE forum; GRANT Select, Insert, Update, Delete ON forum.* TO forumuser@localhost IDENTIFIED BY 'xxx';