MertcanGokgoz

create mysql user

Dec 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.19 KB | None | 0 0
  1. create database database_name;
  2. CREATE USER 'database_user'@'localhost' IDENTIFIED BY 'database_password';
  3. GRANT ALL PRIVILEGES ON * . * TO 'database_user'@'localhost';
  4. FLUSH PRIVILEGES;
  5. exit
Add Comment
Please, Sign In to add comment