Creating database user in MySQL

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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

Statistics

  • Total Hits - 27480

  • Total Votes - 110 votes

  • Vote Up - 48 votes

  • Vote Down - 62 votes

  • Domain - www.databasef1.com

  • Category - MySQL/MySQL Misc

  • Submitted By - Shekhar

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

Description

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 ...


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

Advertisements