create user with privileges

PHOTO EMBED

Tue Jan 19 2021 17:51:26 GMT+0000 (Coordinated Universal Time)

Saved by @goranbloncar #terminal,commandline

CREATE USER 'cake'@'localhost' IDENTIFIED BY 'cake';
GRANT ALL PRIVILEGES ON * . * TO 'cake'@'localhost';


mysql -u username -p database_name < file.sql
content_copyCOPY