1 Description Mysql is the c development library provided by the MySQL development team for OO programming. It is the C package for the underlying data access API provided by MySQL. It is: complex and huge, of course, is also more powerful. Mysql provides us with a better database programming interface, a basic development library developed on MySQL. 2 Installation Environment Mysql Current Stable Release Version mysql 1.7.9 Our Linux Environment: Redhat 9.0 Software Environment: GCC 3.2.2 --- RH9 comes with glibc2.3 ---- RH9 comes with mysql 4.0 .15 --- rh9 includes 3.23.54, you need to upgrade 3 mysql 4.0.15 installation upgrade software, you should first unload the original mysql 3.23.54, whether you can use the command: rpm -qa | grep mysql will look up mysql- Server, MySQL-DEVEL-3.23.54A-11 uses the following command to delete: rpm -e -nodeps mysql *: * Represents the specific package name to ensure that mysql old version of the development header file and library are deleted, need to manually delete: RM - FR / usr / lib / mysql rm -fr / usr / include / mysql downloads Mysql 4.0.15 Linux X86 RPM Downloads from www.mysql.com/downloads/, download the RPM package is better, easy to install on RH9: Server, Client, Libraries, Dynamic Library packages After using the command: RPM -IVH specific RPM package name is installed, the server is installed automatically after the server is installed, and the mysql is installed and the client and development library package will be installed after installing the server. 4 MySQL 1.7.9 Compile and Install Mysql 1.7.9 is the current stable release version, which can be used with MySQL 4.0.15, www.mysql.com provides its RPM direct installation package and source package, due to the website Say that the RPM compile installation package needs to be supported with mySQL4.0.12, and the RPM source package is installed and installed under / usr / src / redhat / source, it is inconvenient to operate, download the TAR package source code for self-compilation and installation. From www.mysql.com/downloads/api-mysql .html Download Source Tar.gz Pack and all GCC patch RH9 GCC versions are 3.2.2, you need to hit three source patchs.