How to Read This Book

Whichever part of the book you happen to be reading at any given time, it's best to try out the examples as you go along. If MySQL isn't installed on your system, you should install it or ask someone to do so for you. Then get the files needed to set up the sampdb sample database to which we'll be referring throughout the book. Appendix A, "Obtaining and Installing Software," says where you can obtain all the components and has instructions for installing them.

If you're a complete newcomer to MySQL or to SQL, begin with Chapter 1, "Getting Started with MySQL and SQL." This provides you with a tutorial introduction that grounds you in basic MySQL and SQL concepts and brings you up to speed for the rest of the book. Then proceed to Chapter 2, "Working with Data in MySQL," and Chapter 3, "MySQL SQL Syntax and Use," to find out how to describe and manipulate your own data so that you can exploit MySQL's capabilities for your own applications.

If you already know some SQL, you should still read Chapter 2 and Chapter 3. SQL implementations vary, and you'll want to find out what makes MySQL's implementation distinctive in comparison to others with which you may be familiar.

If you have experience with MySQL but need more background on the details of performing particular tasks, use the book as a reference, looking up topics on a need-to-know basis. You'll find several of the appendixes especially useful for reference purposes.

If you're interested in writing your own programs to access MySQL databases, read the API chapters, beginning with Chapter 5, "Introduction to MySQL Programming." If you want to produce a Web-based front end to your databases for easier access to them, or, conversely, to provide a database back end for your Web site to enhance your site with dynamic content, check out Chapter 7, "The Perl DBI API," and Chapter 8, "The PHP API."

If you're evaluating MySQL to find out how it compares to your current RDBMS, several parts of the book will be useful. Read the data type and SQL syntax chapters in Part I to compare MySQL to the SQL that you're used to, the programming chapters in Part II if you have custom applications, and the administrative chapters in Part III to assess the level of administrative support a MySQL installation requires. This information is also useful if you're not currently using a database but are performing a comparative analysis of MySQL along with other database systems for the purpose of choosing one of them.

If you want access to MySQL and are seeking an Internet Service Provider (ISP) who offers it, see Appendix I, "Internet Service Providers," for some tips on how to choose one. This appendix also provides advice to service providers who want to provide MySQL to attract new customers or serve existing ones better.



MySQL
High Performance MySQL: Optimization, Backups, Replication, and More
ISBN: 0596101716
EAN: 2147483647
Year: 2003
Pages: 188

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net