external developers. We’ll give you the basics that will keep you up and running inmost environments, and will briefly describe even some relatively advanced topics.
We won’t coverall the programs that come
with the MySQL distribution, and we won’t spend too long on each one the MySQL reference manual does a good job of covering all the options. We’ll instead look at the programs and options that you’re most likely to use in practice these are the ones we’ve used ourselves a reasonable number of times over several years of working with MySQL.
The Book’s Web SiteWe’ve setup the website,
http://www.learningmysql.com, which
contains the sample databases, datafiles, and program code. We recommend you make good use of the website while you read this book.
8 | Chapter 1:Introduction CHAPTER 2Installing MySQLLearning MySQL is easiest if you have a database server installed on your computer.
By administering your own server, you can go beyond querying and learn how
to manage users and privileges, configure the server, and make the best use of its features.
Importantly, you also learn the steps required to install and configure MySQL, which is useful when you need to deploy your applications elsewhere.
This chapter explains how to choose and configure a suitable
environment for learningMySQL. We cover the following topics What to install how to decide between precompiled packages, an integrated web development environment, and compiling from the source
code Whereto install Linux, Microsoft Windows, or Mac OS X Why, when,
and how to upgrade MySQL• How MySQL has changed and how to migrate between versions How to configure the Apache web server and support for the PHP and Perl scripting languages.
MySQL is available in several forms and for many operating systems. In the next section,
we examine the choices available and how you can decide what suits you.
Share with your friends: