Answers for "mysql user at any host"

SQL
13

mysql add user with all privileges

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
Posted by: Guest on January-02-2020
1

SELECT User,Host FROM mysql.user;

SELECT User,Host FROM mysql.user;
DROP USER 'testuser'@'localhost';
Posted by: Guest on August-05-2020

Code answers related to "mysql user at any host"

Code answers related to "SQL"

Browse Popular Code Answers by Language