Share: Link copied successfully! Contents [hideshow] Database User Commands Create User Command Database Privileges to user Command Database User Commands: Create User Command: create user 'username'@'localhost' identified by 'password'; Database Privileges to user Command: grant all privileges ON DATABASE.* TO 'USER'@'localhost'; flush privileges;