Creating database user in MySQL

Tutorials Shared by the Internet Community


Creating database user in MySQL

In this MySQL create user article I try to summarize how you can add a new user to your MySQL database.


  • Total Hits - 29206

  • Total Votes - 111 votes

  • Vote Up - 49 votes

  • Vote Down - 62 votes

  • Domain -

  • Category - MySQL/MySQL Misc

  • Submitted By - Shekhar

  • Submitted on - 2008-04-15 01:22:12


Nowadays security is more and more important even in case of smaller websites. As a lot of site uses some database so this is one point where we can make some improvements.

In this article we will work with MySQL on our goal is to create a new user in the database.

There are more ways how you can do this.

Using CREATE USER and/or GRANT commands

Inserting a new record into the mysql.user table    More detail...

Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down