
Front cover Discovering MySQL on IBM i5/OS Install and configure the MySQL Database Server on i5/OS Explore tools to manage, back up, and recover the MySQL Database Server Leverage existing MySQL applications on i5/OS Hernando Bedoya Francisco Javier Dieguez Bruno Digiovani Erwin Earley Shirley Pintos ibm.com/redbooks International Technical Support Organization Discovering MySQL on IBM i5/OS March 2008 SG24-7398-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (March 2008) This edition applies to Version 5, Release 4 of IBM i5/OS (5722-SS1). © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team that wrote this book . ix Become a published author . xi Comments welcome. xi Part 1. Introduction to the MySQL Database Server on i5/OS . 1 Chapter 1. Overview of the MySQL Database Server on i5/OS. 3 1.1 The IBM and MySQL AB announcement . 4 1.2 Current support of the MySQL Database Server on i5/OS . 4 1.3 Future Statement of Direction of the MySQL Database Server on i5/OS . 5 Chapter 2. Overview of the MySQL Database Server . 7 2.1 Why the MySQL Database Server on i5/OS . 8 2.2 Who is using the MySQL Database Server. 8 2.3 Top reasons to use the MySQL Database Server . 8 2.4 An overview of the MySQL Database Server architecture . 9 2.4.1 Storage engines . 10 2.5 Features of the MySQL Database Server . 18 2.6 Licensing . 19 Part 2. Installing, configuring, and managing the MySQL Database Server on i5/OS . 21 Chapter 3. Installing and configuring V5.0 of MySQL Database Server on i5/OS. 23 3.1 Packaging . 24 3.2 Product structure. 24 3.3 The i5/OS PASE runtime environment . 27 3.3.1 File systems . 28 3.3.2 Shells and utilities . 28 3.3.3 Additional commands . 30 3.3.4 Additional information and links . 31 3.4 Installation and configuration of the MySQL Database Server on i5/OS . 31 3.4.1 Checking the prerequisites . 31 3.4.2 Installing and configuring the MySQL Database Server on i5/OS . 33 3.4.3 Verifying the installation . 42 3.4.4 Post installation tasks . 43 3.4.5 Common installation and restoration errors . 46 3.4.6 Upgrading the MySQL Database Server on i5/OS from a previous version . 47 3.4.7 Uninstalling the MySQL Database Server on i5/OS . 47 Chapter 4. Administration: Tools and general tasks . 49 4.1 Overview of the administration command line tools . 50 4.1.1 Invoking command line tools. 51 4.2 Overview of the graphical administration tools . 53 4.2.1 Overview of MySQL GUI Tools. 54 4.2.2 Overview of phpMyAdmin . 54 © Copyright IBM Corp. 2008. All rights reserved. iii 4.3 Installation of the administration tools . 55 4.3.1 Installing the server-side tools. 55 4.3.2 Installing the MySQL GUI Tools . 55 4.3.3 Installing phpMyAdmin . 59 4.4 General administration tasks. 65 4.4.1 Starting the MySQL Database Server. 65 4.4.2 Stopping the MySQL Database Server. 68 4.4.3 Checking the status of the MySQL Database Server . 69 4.4.4 Automating the starting and stopping tasks . 74 4.4.5 Enabling, maintaining, and querying logs . 77 4.4.6 Checking the consistency of databases . 83 Chapter 5. Security, access control, and privileges . 87 5.1 The privilege system . 88 5.2 The privilege system of the MySQL Database Server . 88 5.3 Privileges provided by the MySQL Database Server . 90 5.4 Creating a user, granting privileges, and revoking privileges . 91 5.4.1 Executing the MySQL Database Server commands. 91 5.4.2 User accounts . 92 5.4.3 The GRANT statement . 92 5.4.4 GRANT: Column values in the privilege tables. 93 5.4.5 Scope column . 94 5.4.6 Revoking privileges. 95 5.5 When privilege changes take effect . 95 5.6 Granting user privileges in MySQL Administrator . 96 Chapter 6. Backup and restore of the MySQL databases . 99 6.1 Methods for backup and restore . 100 6.2 Making a backup of the MySQL Database Server . 100 6.2.1 The mysqldump script for backup . 100 6.2.2 The mysqlhotcopy script for backup . 106 6.2.3 MySQL Administrator for backup . 108 6.2.4 phpMyAdmin for backup . 117 6.3 Restoring the MySQL databases . 120 6.3.1 The mysqlimport command for restore . 120 6.3.2 The source command for restore . 123 6.3.3 MySQL Administrator for restore. 124 6.3.4 phpMyAdmin for restore . 127 6.4 Additional tools for backup and restore. 128 6.4.1 Security backup to TAPE . 128 6.4.2 Security backup to *SAVF. ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages236 Page
-
File Size-