CREATE USER 'admin'@'localhost' IDENTIFIED BY 'password';
CREATE USER 'admin'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'%' WITH GRANT OPTION;
Created
June 15, 2025 05:31
-
-
Save lysender/64c7f6b11ab2b98bd001fa302856d490 to your computer and use it in GitHub Desktop.
Create MySQL User
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment