Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create mysql user

CREATE USER 'newuser'@'%' IDENTIFIED BY 'user_password';
GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'%';
SHOW GRANTS FOR 'newuser'@'%';
FLUSH PRIVILEGES;
 
PREVIOUS NEXT
Tagged: #create #mysql #user
ADD COMMENT
Topic
Name
5+4 =