---
title: "Discussion on \"MySQL Commands You Need To Know To Create A New User\" | Hashnode"
description: "Discussion on \"MySQL Commands You Need To Know To Create A New User\". Working with our root user on all our databases is not a smart move and we all know it. We are going to learn how to use the command line to create a new MySQL user and grant him all the permissions and privileges needed to work independently.\nI am a..."
url: "https://hashnode.com/posts/mysql-commands-you-need-to-know-to-create-a-new-user/5f43a655cc3bb003f9717167"
---

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

Discussion

# [MySQL Commands You Need To Know To Create A New User](https://blog.ranaemad.com/mysql-commands-you-need-to-know-to-create-a-new-user?utm_source=hashnode&utm_medium=feed)

Working with our root user on all our databases is not a smart move and we all know it. We are going to learn how to use the command line to create a new MySQL user and grant him all the permissions and privileges needed to work independently. I am a...

Aug 24, 2020 · 3 min read · blog.ranaemad.com  
Read the article

-   [#mysql](https://hashnode.com/tag/mysql)
-   [#databases](https://hashnode.com/tag/databases)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#command-line](https://hashnode.com/tag/command-line)

## Written by

[Rana Emad](https://hashnode.com/@RanaEmad)

@RanaEmad

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

Software Engineer

A Software Engineer waiting patiently for her train of thought to run her over.

## Responses 2

Markdown supported · ⌘↵ to post

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Aug 25, 2020](https://hashnode.com/posts/mysql-commands-you-need-to-know-to-create-a-new-user/5f43a655cc3bb003f9717167/comment/5f44fa76d45d69130b80799b)

This is such a great read to bookmark, thanks for sharing!

[Rana Emad](https://hashnode.com/@RanaEmad)

[Aug 25, 2020](https://hashnode.com/posts/mysql-commands-you-need-to-know-to-create-a-new-user/5f43a655cc3bb003f9717167/comment/5f44fa76d45d69130b80799b#reply-5f4575cae1e00d1adcd10ebb)

Thanks, [Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)!

[Pankaj](https://hashnode.com/@pankajsanam)

[Aug 24, 2020](https://hashnode.com/posts/mysql-commands-you-need-to-know-to-create-a-new-user/5f43a655cc3bb003f9717167/comment/5f43d03e0befe506f35c862b)

This will come in handy as I can barely memorize all these SQL syntaxes so I always do the google search for this.

Thanks for posting this Rana.

[Rana Emad](https://hashnode.com/@RanaEmad)

[Aug 24, 2020](https://hashnode.com/posts/mysql-commands-you-need-to-know-to-create-a-new-user/5f43a655cc3bb003f9717167/comment/5f43d03e0befe506f35c862b#reply-5f43e944e5215909d82edada)

Same here :D Thank you for reading, [Pankaj Sanam](https://hashnode.com/@pankajsanam)!
