Managing & Using MySQL and over 2 million other books are available for Amazon Kindle . Learn more

Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading Managing & Using MySQL on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Managing & Using MySQL: Open Source SQL Databases for Managing Information & Web Sites [Paperback]

Tim King , George Reese , Randy Yarger , Hugh E. Williams
3.5 out of 5 stars  See all reviews (2 customer reviews)
Price: £25.99 & FREE Delivery in the UK. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Wednesday, 24 Sep.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £21.12  
Paperback £25.99  

Book Description

3 May 2002 0596002114 978-0596002114 2

MySQL is a popular and robust open source database product that supports key subsets of SQL on both Linux and Unix systems. MySQL is free for nonprofit use and costs a small amount for commercial use. Unlike commercial databases, MySQL is affordable and easy to use. This book includes introductions to SQL and to relational database theory. If you plan to use MySQL to build web sites or other Linux or Unix applications, this book teaches you to do that, and it will remain useful as a reference once you understand the basics. Ample tutorial material and examples are included throughout.

This book has all you need to take full advantage of this powerful database management system. It takes you through the whole process from installation and configuration to programming interfaces and database administration. This second edition has a greatly enhanced administration chapter that includes information on administrative tools, server configuration, server startup and shutdown, log file management, database backup and restore, and database administration and repair. In addition, a new chapter on security describes data, server, and client-server security, while a chapter on extending MySQL provides an overview of MySQL internals and describes the use of MySQL user-defined functions.

If you know C/C++, Java, Perl, PHP, or Python, you can write programs to interact with your MySQL database. In addition, you can embed queries and updates directly in an HTML file so that a web page becomes its own interface to the database. Managing and Using MySQL includes chapters on the programming language interfaces, and it also includes a complete reference section with specific function calls for each language.

Also included in the reference section are references to the SQL language, and details of the MySQL system variables, programs, and utilities. New to the second edition is a reference to the internal MySQL tables, which will be of particular interest to those who want to work extensively with MySQL security.

Customers Who Bought This Item Also Bought

Product details

  • Paperback: 444 pages
  • Publisher: O'Reilly Media; 2 edition (3 May 2002)
  • Language: English
  • ISBN-10: 0596002114
  • ISBN-13: 978-0596002114
  • Product Dimensions: 23.4 x 17.9 x 2.7 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 1,200,857 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Amazon Review

Managing and Using MySQL describes the installation, administration and programming of this hugely popular open source database manager. The main focus is on using MySQL in Web applications hosted on Linux or Unix. The book is based on MySQL 3.23. It’s aimed at programmers, but database design and the SQL language are explained from scratch, so it’s also suitable for Web developers who are beginners when it comes to databases.

The scene is set with a brief history of MySQL, explaining its position as a fast and generally free alternative to the fuller-featured commercial heavyweights like Oracle or DB2. Next comes an introduction to SQL, followed by three chapters on administration, covering configuration, data recovery, tuning, security and user management. There's a brief look at database design too. That accounts for around one third of the book. The rest is about programming with chapters on using MySQL from Perl, Python, PHP and Java, and a look at how to extend MySQL with user-defined functions written in C. The last part of the book is a reference section, covering SQL syntax and functions, along with the MySQL API in PHP, C, and Python.

This is an excellent book for getting started with MySQL as well as a convenient reference. It has a broad scope, which means it does not go deeply into the various topics. For example, those using PHP might be better off with a more specialist title like Web Database Applications with PHP and MySQL. On the other hand, Managing and Using MySQL is ideal for a general and highly accessible overview of what MySQL can do.--Tim Anderson


"....Overall, the authors have an excellent introduction to SQL databases and MySQL...Rating 9/10." -- Geekboy,, July 2, 2002

I recommend this to anyone wanting to learn about database development or thinking of moving from commercial relational databases to open source software. -- Steve Mitchell,, August 17, 2002

If you are looking to embrace MySQL, it's worth considering 'Managing and Using MySQL. -- Paul Schneider, Compunotes

This book should be on the shelf as a resource for anyone who needs general MySQL knowledge -- Peter MacIntyre, eweek, Feb 6, 2003

To get up to speed, I recommend starting, as ever, with the manuals from O'Reilly & Associates. -- Andrew Binstock, SD Times, Nov 2002

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
1 star
3.5 out of 5 stars
3.5 out of 5 stars
Most Helpful Customer Reviews
38 of 39 people found the following review helpful
2.0 out of 5 stars Buy the Dubois book instead 14 Jun 2002
I bought "Managing and Using MySQL" in the hope that it
would include more up-to-date information on administering
and maintaining a MySQL database than the book by Paul
Dubois, which is now two-and-half years old.
I was disappointed. Although it constantly refers to new
features that are available in MySQL 4, it fails to cover
important features of the MySQL 3.23 series of releases
at all. Given that many installations and ISPs still
rely on MySQL 3.23.x, the emphasis on MySQL 4 is premature.
One glaring omission is the subject of replication, which
allows real-time mirroring of a database server for
load-sharing and/or live backup. Even Dubois, writing in
late 1999, knew this feature was imminent, but Reese and
colleagues don't even mention it in passing.
If you don't already have "MySQL" by Paul Dubois, buy that
instead. It is a much better book all round, covering all
of the major subjects in greater depth. If you do have the
Dubois book, and you're running a MySQL 3.23.x installation,
you won't gain much from "Managing and Using MySQL".
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
5.0 out of 5 stars Good, authoritative reference 29 Oct 2002
By David Precious TOP 1000 REVIEWER VINE VOICE
Format:Paperback|Verified Purchase
A good, authoritative reference which will guide you from finding out about MySQL and getting it installed all the way to configuring it, locking down security and optimisation, all the way through to good database design and day-to-day usage.
Even once you've got your database up and running well, this book is an invaluable reference to have to hand, for those commands and their syntax that slip your brain. Well done O'Reilly, another quality title!
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 3.3 out of 5 stars  14 reviews
35 of 36 people found the following review helpful
3.0 out of 5 stars A good book covering a lot of topics 9 Sep 2002
By C. M. Lowry - Published on
The title is not all together indicative of what the authors try to accomplish in this book. The book attempts to be both a tutorial and a reference for programmers and administrators. The book consists of four major parts. The first part is the Introduction, which contains chapters on MySQL in general, installation on Unix and Windows, SQL for MySQL, and general Database Administration. This is accomplished in less than eighty pages which makes for brief explanations, limited illustrations, and examples. The second part is the MySQL Administration. This part has chapters on Performance Tuning, Security, and Database Design. The third part is MySQL Programming. The chapters' topics include general database applications, Perl, Python, PHP, C API, Java, and extending MySQL. Part four is the MySQL Reference. SQL syntax for MySQL, MySQL data types, Operators and Functions, MySQL PHP API Reference, C Reference, and Python DB-API are the chapter topics included in this part.
The authors do not assume that the reader is knowledgeable about relational databases in general, SQL, or the related topics. For example, the chapter on SQL on MySQL does not just describe the subset of SQL-92 that MySQL supports, but rather it contains a tutorial on the SQL for the commands that MySQL supports. Chapter seven on Database Design contains a tutorial on taking a database to third normal form complete with Entity-Relationship diagrams, unique identifiers and relationships. In part four, the PHP chapter contains a mini-tutorial on PHP and a complete PHP application. While the level of thoroughness is nice in the sense that you do not have to refer to other volumes to comprehend the subject, it makes for some very intense reading because of the size of the book versus the topics covered.
Overall, I like the book as a general tool, however there are certain omissions, for example: there is no reference phpMyAdmin or WinMySQLadmin. These tools are very easy to use and helpful in working with MySQL. In addition, the topic of creating InnoDB or BDB tables for transaction support is not addressed. The explanation of granting privileges in MySQL was a little confusing. Some supporting illustrations or diagrams would be well received there. The book is fairly successful in covering its broad topic domain. In conjunction with the MySQL manual, the book should meet most of my needs, but if I were a full time database administrator, I would probably want a dedicated reference book.
20 of 20 people found the following review helpful
4.0 out of 5 stars Good Introduction to MySQL - But Only an Introduction 6 Nov 2003
By Warren J. Dew - Published on
Format:Paperback|Verified Purchase
This book is clearly and succinctly written, and provides an excellent introduction to MySQL. It starts with a few pages on the history and philosophy behind MySQL, which is useful if you want to understand the advantages and disadvantages of MySQL relative to other options such as PostgreSQL or Oracle. It then follows with chapters on installation, with specific instructions for Solaris, Linux, and Windows; on MySQL's dialect of SQL (Structured Query Language); and on basic administration tasks such as configuration, startup and shutdown, logging, backup, and recovery. That's really all you need to get a basic database up and running, and it's all in the first 80 pages of the book.
Part II of the book covers more advanced administrative tasks, with chapters on performance tuning, security, and database design. This section of the book is weaker than the first section; while there's some useful introductory material on each of these topics, depth is lacking. For example, the discussion of putting a database into second normal form is misleading because it uses a table with only one field as the unique identifier, making it impossible to clearly illustrate the removal to a smaller table of fields that are dependent on only part of a (typically multifield) unique identifier. Also, some of the more advanced MySQL features which might be appropriate for this section are omitted.
Part III of the book, entitled "MySQL Programming", has sections accessing MySQL from Perl, Python, PHP, C, Java. These sections are mostly limited to information specific to MySQL that might not be found in general purpose documentation of these languages. For example, the PHP section documents the relevant function calls, since PHP uses different functions to access MySQL than it does to access, say, ODBC databases, while the Java section focuses on JDBC (Java Database Connectivity) driver configuration since the JDBC API is database independent.
Finally, there is a reference section and a good, complete index.
If what you want to do is get a small database up and running in a minimum of time with a minimum of hassle, this is the book for you. If you want more than an introductory level of detail and depth, though, you might look at other books; Leon Atkinson's "Core MySQL", for example, has more complete coverage, though the writing style is not as clear and direct.
13 of 14 people found the following review helpful
5.0 out of 5 stars Excellent Reference But Not Much On Managment 18 Sep 2002
By J. Whittenburg - Published on
Format:Paperback|Verified Purchase
This book is an excellent reference book for MySQL. In fact I'd rate it the best MySQL reference out there when using MySQL as a coder. But if your looking for this book to tell you how to manage MySQL look on, this book is not for you! It's pretty weak in that area (as is the official MySQL documentation). But again, as a programmer I've found this book invaluable as a resource and would never be without it. I'd recommend it for novices and advanced users.
13 of 15 people found the following review helpful
1.0 out of 5 stars Not very useful, no "Managing" covered 14 Oct 2003
By Todd E Smith - Published on
I bought this book as a reference when I was migrating from SQL Server to MySQL. I was hoping to learn from this book some of the language implementations and how to administer on-line databases (backups, benchmarking, security). I found this book to be very lacking. The book provides very little of the language references of SQL, and devotes the majority of the text to function call references for C, Perl/DBI, PHP and Python. (I would think if you were looking for mysql function calls for these languages you would use the specific language reference). If you don't develop front-ends to MySQL in these languages (but still want to "Manage and Use MySQL") then the bulk of this book is probably useless to you.
As for managing MySQL, this text provides very little practical information. Sure it covers the GRANT statements, but doesn't go into much depth. For example, I found very little information about archiving or trying to incorporate some type of pseudo-replication.
In general, I notice that my book is still in fairly new condition, and doesn't get used much ... it is just an arm's reach away. I use the FREE online MySQL manual almost everyday. That should tell you something right there, huh.
2 of 2 people found the following review helpful
2.0 out of 5 stars Lack of In-Depth Information 28 Jun 2004
By A Customer - Published on
I generally love the O'Reilly books because they tend to be very thorough and have lots of practical code examples, but this book was a big disappointment to me. I was easily frustrated by this book. As a beginner to MySQL and database programming, I was completely lost whenever I tried to apply something to my own projects. The explanations given here are very brief and the authors often send you elsewhere for more in-depth discussion. I wound up doing most of my research online and just using the SQL reference chapter to look-up query syntax. I give it two stars because it did help me get started, but I'd say this is a poor reference for anyone looking for in-depth coverage.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category