MySQL
  Home arrow MySQL arrow MySQL Administration
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

MySQL Administration
By: W.J. Gilmore
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 19
    1999-03-30


    Table of Contents:
  • MySQL Administration
  • The Privilege System
  • A Real-Life example
  • More Basics

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    MySQL Administration
    ( Page 1 of 4 )

    MySQL Administration correctly administering the MySQL server, including the manipulation the privilege system, and making intelligent decisions about the capabilities (permissions) given to users.So you've finally correctly installed the MySQL server. The next step is to configure the server to handle clients, in addition to making the server a secure one. Yet how does one go about the addition of clients, in addition to providing necessary privileges for the client's intended use of the server? This article will focus upon some of the most daunting (yet easy and important!) tasks of correctly administering the MySQL server, including the manipulation the privilege system, and making intelligent decisions about the capabilities (permissions) given to users.

    I will make the assumption that you have at least a rough knowledge of SQL basics. For example, what is an INSERT, SELECT, or UPDATE command. Also, you should have a basic understanding of the Unix-flavored directory structure before continuing this article.

    Have you correctly installed MySQL?

    For those who are not sure if MySQL has been correctly installed, follow along with the below commands. (Don't worry if you have no clue as to what is taking place. We will discuss these concepts throughout the article):


    $ cd /usr/local/bin $ ./mysqlshow +--------------+ | Databases | +--------------+ | mysql | +--------------+

    Assuming that checks out, try:


    $ ./mysqlshow mysql Database: mysql +----------+ | Tables | +----------+ | db | | host | | user | +----------+

    And finally:


    $ ./mysql -e "select host,db,user from db" mysql +------+----------+------+ | host | db | user | +------+----------+------+ | % | test | | | % | test_% | | +------+----------+------+

    Assuming the above tests have produced the expected output, we can now begin discussing the concepts that one must understand to fully benefit from MySQL's efficient administration system. If the results were not the same as those seen above:
    1. Have you executed MYSQL_INSTALL_DB? If you have never heard of the command, check out the MySQL documentation.
    2. If you have in fact executed MYSQL_INSTALL_DB, again, consult the docs, as there are a number of possible problems arising from the command that are out of the scope of this article.

    Assuming everything is in order, and MySQL has in fact been installed correctly, let's take a look at the dynamics behind MySQL administration.


     
     
    >>> More MySQL Articles          >>> More By W.J. Gilmore
     

       

    MYSQL ARTICLES

    - MySQL Security Tips
    - Designing a MySQL Database: Tips and Techniq...
    - The Three Most Important MySQL Queries
    - Null and Empty Strings
    - MySQL Server Tuning Tips and Tricks
    - MySQL Query Optimizations and Schema Design
    - MySQL Benchmarking Tools and Utilities
    - MySQL Benchmarking Concepts and Strategies
    - Take Some Load off MySQL with MemCached
    - MySQL Table Prefix Changer Tool in PHP
    - Using the SIGNAL Statement for Error Handling
    - Error Handling Examples
    - Error Handling
    - Completing a Search Engine with MySQL and PH...
    - Paginating Result Sets for a Search Engine B...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    Stay green...Green IT