30 words
1 minutes
Create a MySQL user
2025-01-24
No Tags
CREATE USER '<username>'@'%' IDENTIFIED BY '<password>';
GRANT ALL PRIVILEGES ON <database name>. * TO 'nsenglish'@'%';
CREATE USER '<username>'@'localhost' IDENTIFIED BY '<password>';
GRANT ALL PRIVILEGES ON <database name>. * TO '<username>'@'localhost';