Skip to content

MySQL

Create user

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';

Give grants

GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'localhost';