MySQL Create User for database

/ Published in: MySQL
Save to your folder(s)

Snippet used to create users on databases

Copy this code and paste it in your HTML
  1. GRANT SELECT, INSERT, UPDATE, DELETE, CREATE ON database.* TO 'user'@'localhost' IDENTIFIED BY 'password';

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.