Home arrow MySQL arrow Creating Users and Setting Permissions in MySQL
MYSQL

Creating Users and Setting Permissions in MySQL


MySQL is an extremely powerful database, but in order to properly maximize its potential you may need to learn how to set up users and their respective permissions. In this article Ryan takes a look at using the MySQL console application to create users and grant permissions to them. He also shows us how to grant permissions from remote hosts, how to reduce user privledges and more.

Author Info:
By: Ryan Schwiebert
Rating: 4 stars4 stars4 stars4 stars4 stars / 125
May 21, 2002
TABLE OF CONTENTS:
  1. · Creating Users and Setting Permissions in MySQL
  2. · Opening the MySQL console application
  3. · Reducing User Privileges
  4. · Conclusion

print this article
SEARCH DEVARTICLES

Creating Users and Setting Permissions in MySQL
(Page 1 of 4 )

MySQL is an extremely powerful database, but in order to properly maximize its potential, you may need to learn how to set up users and their respective permissions. MySQL is a multi-user database, which means that you can set up several different accounts on the same server with many varied permissions given to each user. This ability is part of what makes MySQL so powerful. It may also be the very feature that makes MySQL so frustrating to new users.

MySQL privileges are critical to the utility of this system as they allow each of the users to access and utilize only the areas needed to perform their work functions. This is meant to prevent, a user from accidentally accessing an area where he or she should not have access. Additionally, this adds to the security of the MySQL server. When you connect to a MySQL server, the host from which you connect and the user name you specify determines your identity. With this information, the server then grants privileges based upon this identity.

With the knowledge provided by this basic tutorial, you will be able to effectively manipulate data in any MySQL database. Specifically, this article focuses on the creation of several user accounts with a variety of different permissions.
blog comments powered by Disqus
MYSQL ARTICLES

- MySQL and BLOBs
- Two Lessons in ASP and MySQL
- Lord Of The Strings Part 2
- Lord Of The Strings Part 1
- Importing Data into MySQL with Navicat
- Building a Sustainable Web Site
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- PhpED 3.2 More Features Than You Can Poke ...
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- Security and Sessions in PHP
- Setup Your Personal Reminder System Using PHP
- Create a IP-Country Database Using PERL and ...
- Developing a Dynamic Document Search in PHP ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials