Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Create Database
- ```mysql
- CREATE DATABASE {table name};
- ```
- # Create User
- ```mysql
- CREATE USER '{user name}'@'localhost' IDENTIFIED BY '{pass}';
- ```
- # Give user DB access
- ```mysql
- GRANT ALL ON {table name}.* TO '{user name}'@'localhost';
- ```
Add Comment
Please, Sign In to add comment