MySQL and Linux/Unix

Abstract

This is the MySQL Linux extract from the MySQL 5.7 Reference Manual.

For legal information, see the Legal Notices.

For help with using MySQL, please visit either the MySQL Forums or MySQL Mailing Lists, where you can discuss your issues with other MySQL users.

For additional documentation on MySQL products, including translations of the documentation into other languages, and downloadable versions in variety of formats, including HTML and PDF formats, see the MySQL Documentation Library.

Licensing information—MySQL 5.7.  This product may include third-party software, used under license. If you are using a Commercial release of MySQL 5.7, see this document for licensing information, including licensing information relating to third-party software that may be included in this Commercial release. If you are using a Community release of MySQL 5.7, see this document for licensing information, including licensing information relating to third-party software that may be included in this Community release.

Licensing information—MySQL Cluster.  This product may include third-party software, used under license. If you are using a Community release of MySQL Cluster NDB 7.5, see this document for licensing information, including licensing information relating to third-party software that may be included in this Community release.

Document generated on: 2016-08-20 (revision: 48619)


Table of Contents

Preface and Legal Notices
1 Installing MySQL on Unix/Linux Using Generic Binaries
2 Installing MySQL on Linux
2.1 Installing MySQL on Linux Using the MySQL Yum Repository
2.2 Replacing a Third-Party Distribution of MySQL Using the MySQL Yum Repository
2.3 Installing MySQL on Linux Using the MySQL APT Repository
2.4 Installing MySQL on Linux Using the MySQL SLES Repository
2.5 Installing MySQL on Linux Using RPM Packages from Oracle
2.6 Installing MySQL on Linux Using Debian Packages from Oracle
2.7 Installing MySQL on Linux from the Native Software Repositories
2.8 Installing MySQL on Linux with docker
2.9 Installing MySQL on Linux with juju
2.10 Managing MySQL Server with systemd
3 Installing MySQL on Solaris and OpenSolaris
3.1 Installing MySQL on Solaris Using a Solaris PKG
3.2 Installing MySQL on OpenSolaris Using IPS
4 Installing MySQL on FreeBSD
5 Initializing the Data Directory
5.1 Initializing the Data Directory Manually Using mysqld
5.2 Initializing the Data Directory Manually Using mysql_install_db
5.3 Problems Running mysql_install_db