$ sudo mysql -u root
> create user 'santosh'@'localhost' identified by 'password123';
> create database school_db;
> grant all privileges on school_db.* to 'santosh'@'localhost';
Last active
July 26, 2023 15:49
-
-
Save santuman/e80169cf69752a1f8c9617aedb3f946a to your computer and use it in GitHub Desktop.
MYSQL database and user creation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment