Answers for "mysql add host to user"

SQL
2

create mysql user on all hosts

CREATE USER 'newuser'@'%' IDENTIFIED BY 'user_password';
GRANT ALL PRIVILEGES ON *.* TO 'newuser'@'%';
SHOW GRANTS FOR 'newuser'@'%';
FLUSH PRIVILEGES;
Posted by: Guest on May-14-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language