Finding MySQL Packages


You need at least the mysql and mysql-server packages installed to set up MySQL using the procedures described in this chapter. The following MySQL packages that come with the Fedora and RHEL distributions are what you need to get started:

  • mysql - This software package contains a lot of MySQL client programs (in /usr/bin ), several client shared libraries, the default MySQL configuration file ( /etc/my.cnf ), a few sample configuration files, files to support different languages, and documentation.

  • mysql-server - This software package contains the MySQL server daemon ( mysqld ) and the mysqld start-up script ( /etc/init.d/mysqld ). The package also creates various administrative files and directories needed to set up the MySQL databases.

  • mysql- devel - This software package contains libraries and header files required for developing MySQL applications.

  • php-mysql - This software package contains a shared library that allows PHP applications to access MySQL databases. This basically allows you to add PHP scripts to your Web pages that can access your MySQL database.

Other packages available to add functionality to your MySQL databases include mod_auth_mysql (tools to authorize Apache Web server access from data in a MySQL database), perl-DBD-MySQL (provides a perl interface to MySQL databases), mysqlclient10 (provides a backlevel version of MySQL client libraries for data created with MySQL 3.2.58), mysqlclient14 (same as mysqlclient10, but for MySQL 4.1.14), mysql-bench (contains scripts for benchmarking MySQL databases), MySQL-python (contains a Python interface to MySQL), and qt-MySQL (MySQL drivers for QT SQL classes).

If MySQL isn't installed yet, type the following:

 #  yum install mysql mysql-server  

If MySQL was installed during initial Fedora installation, you should update your MySQL packages (run yum with update instead of install ). If no Internet connection is available, you can install the mysql packages using the rpm command or the system-config-packages window (as described in Chapter 5).




Fedora 6 and Red Hat Enterprise Linux Bible
Fedora 6 and Red Hat Enterprise Linux Bible
ISBN: 047008278X
EAN: 2147483647
Year: 2007
Pages: 279

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