---
title: "Discussion on \"Activity 16: user role in MySQL database\" | Hashnode"
description: "Discussion on \"Activity 16: user role in MySQL database\". STEP 1: Open MySQL and login with a admin user (root) and create database\ncreate database and name it based on your own:\n\nexample: CREATE DATABASE role2;\nCREATE DATABASE your_database_name;\n\n\nSTEP 2: Create a new user with a role\n\nReplace 'your_usern..."
url: "https://hashnode.com/posts/activity-16-user-role-in-mysql-database/67505a948e98793667c7393d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Activity 16: user role in MySQL database](https://hanzchizoprenia.hashnode.dev/activity-16-user-role-in-mysql-database?utm_source=hashnode&utm_medium=feed)

STEP 1: Open MySQL and login with a admin user (root) and create database create database and name it based on your own: example: CREATE DATABASE role2; CREATE DATABASE your\_database\_name; STEP 2: Create a new user with a role Replace 'your\_usern...

Dec 4, 2024 · 2 min read · hanzchizoprenia.hashnode.dev  
Read the article

## Written by

[Johannes Francisco](https://hashnode.com/@hanzchizoprenia)

@hanzchizoprenia

  
[View profile](https://hashnode.com/@hanzchizoprenia)

Bio means life.

1% better everyday.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
