5.3. The mysqld-max Extended MySQL Server

MySQL 5.0

5.3. The mysqld-max Extended MySQL Server

A MySQL-Max server is a version of the mysqld MySQL server that has been built to include additional features. The MySQL-Max distribution to use depends on your platform:

  • For Windows, MySQL binary distributions include both the standard server () and the MySQL-Max server (mysqld-max.exe), so no special distribution is needed. Just use a regular Windows distribution. See Section 2.3, “Installing MySQL on Windows”.

  • For Linux, if you install MySQL using RPM distributions, the RPM presupposes that you have already installed the regular server RPM. Use the regular RPM first to install a standard server named mysqld, and then use the RPM to install a server named mysqld-max. See Section 2.4, “Installing MySQL on Linux”, for more information on the Linux RPM packages.

  • All other MySQL-Max distributions contain a single server that is named mysqld but that has the additional features included.

You can find the MySQL-Max binaries on the MySQL AB Web site at http://dev.mysql.com/downloads/.

MySQL AB builds the MySQL-Max servers by using the following configure options:

  • This option adds a suffix to the mysqld version string.

  • This option enables support for the storage engine. MySQL-Max servers always include support. From MySQL 4.0 onward, is included by default in all binary distributions, so a MySQL-Max server is not needed to obtain support.

  • This option enables support for the Berkeley DB () storage engine on those platforms for which is available. (See notes in the following discussion.)

  • This option enables support for the storage engine.

  • This option enables support for the storage engine.

  • This option enables support for the storage engine.

  • This option enables support for the storage engine.

  • This option enables support for the storage engine on those platforms for which Cluster is available. (See notes in the following discussion.)

  • This define is enabled to turn on database symbolic link support for Windows. From MySQL 4.0 onward, symbolic link support is enabled for all Windows servers, so a MySQL-Max server is not needed to take advantage of this feature.

MySQL-Max binary distributions are a convenience for those who wish to install precompiled programs. If you build MySQL using a source distribution, you can build your own Max-like server by enabling the same features at configuration time that the MySQL-Max binary distributions are built with.

MySQL-Max servers include the () storage engine whenever possible, but not all platforms support .

Currently, MySQL Cluster is supported on Linux (on most platforms), Solaris, Mac OS X, and HP-UX only. Some users have reported success in using MySQL Cluster built from source on BSD operating systems, but these are not officially supported at this time. Note that, even for servers compiled with Cluster support, the storage engine is not enabled by default. You must start the server with the option to use it as part of a MySQL Cluster. (For details, see Section 15.4, “MySQL Cluster Configuration”.)

The following table shows the platforms for which MySQL-Max binaries include support for and .

System BDB Support NDB Support
AIX 5.2 N N
HP-UX Y Y
Linux-IA-64 N Y
Linux-Intel Y Y
Mac OS X N Y
NetWare N N
SCO 6 N N
Solaris-SPARC Y Y
Solaris-Intel N Y
Solaris-AMD 64 Y Y
Windows NT/2000/XP Y N

To find out which storage engines your server supports, use the statement. (See Section 13.5.4.10, “ Syntax”.) For example:

mysql> 
*************************** 1. row ***************************
 Engine: MyISAM
Support: DEFAULT
Comment: Default engine as of MySQL 3.23 with great performance
*************************** 2. row ***************************
 Engine: MEMORY
Support: YES
Comment: Hash based, stored in memory, useful for temporary tables
*************************** 3. row ***************************
 Engine: InnoDB
Support: YES
Comment: Supports transactions, row-level locking, and foreign keys
*************************** 4. row ***************************
 Engine: BerkeleyDB
Support: NO
Comment: Supports transactions and page-level locking
*************************** 5. row ***************************
 Engine: BLACKHOLE
Support: YES
Comment: /dev/null storage engine (anything you write to it disappears)
...

The precise output from may vary according to the MySQL version used (and the features that are enabled). The values in the output indicate the server's level of support for each feature, as shown here:

Value Meaning
The feature is supported and is active.
The feature is not supported.
The feature is supported but has been disabled.

A value of means that the server was compiled without support for the feature, so it cannot be activated at runtime.

A value of occurs either because the server was started with an option that disables the feature, or because not all options required to enable it were given. In the latter case, the error log file should contain a reason indicating why the option is disabled. See Section 5.12.1, “The Error Log”.

You might also see for a storage engine if the server was compiled to support it, but was started with a option. For example, disables the engine. For the storage engine, means the server was compiled with support for MySQL Cluster, but was not started with the option.

All MySQL servers support tables, because is the default storage engine.