Rechercher dans le manuel MySQL
2.7 Installing MySQL on Solaris
MySQL 8.0 supports Solaris 11.4 and higher
MySQL on Solaris is available in a number of different formats.
For information on installing using the native Solaris PKG format, see Section 2.7.1, “Installing MySQL on Solaris Using a Solaris PKG”.
To use a standard
tar
binary installation, use the notes provided in Section 2.2, “Installing MySQL on Unix/Linux Using Generic Binaries”. Check the notes and hints at the end of this section for Solaris specific notes that you may need before or after installation.
The installation packages have a dependency on the Oracle Developer Studio 12.6 Runtime Libraries, which must be installed before you run the MySQL installation package. See the download options for Oracle Developer Studio here. The installation package enables you to install the runtime libraries only instead of the full Oracle Developer Studio; see instructions in Installing Only the Runtime Libraries on Oracle Solaris 11.
To obtain a binary MySQL distribution for Solaris in tarball or PKG format, https://dev.mysql.com/downloads/mysql/8.0.html.
Additional notes to be aware of when installing and using MySQL on Solaris:
If you want to use MySQL with the
mysql
user and group, use the groupadd and useradd commands:groupadd mysql useradd -g mysql -s /bin/false mysql
If you install MySQL using a binary tarball distribution on Solaris, because the Solaris tar cannot handle long file names, use GNU tar (gtar) to unpack the distribution. If you do not have GNU tar on your system, install it with the following command:
pkg install archiver/gnu-tar
You should mount any file systems on which you intend to store
InnoDB
files with theforcedirectio
option. (By default mounting is done without this option.) Failing to do so will cause a significant drop in performance when using theInnoDB
storage engine on this platform.If you would like MySQL to start automatically, you can copy
support-files/mysql.server
to/etc/init.d
and create a symbolic link to it named/etc/rc3.d/S99mysql.server
.If too many processes try to connect very rapidly to mysqld, you should see this error in the MySQL log:
Error in accept: Protocol error
You might try starting the server with the
--back_log=50
option as a workaround for this.To configure the generation of core files on Solaris you should use the coreadm command. Because of the security implications of generating a core on a
setuid()
application, by default, Solaris does not support core files onsetuid()
programs. However, you can modify this behavior using coreadm. If you enablesetuid()
core files for the current user, they will be generated using the mode 600 and owned by the superuser.
Traduction non disponible
Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.
Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-solaris-installation.html
L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.
Références
Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.