Creating database user in MySQL
Tutorials Shared by the Internet Community
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
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 ...