Installing MySQL on OpenSolaris Using IPS

Nasza ocena:

5
Wyświetleń: 357
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Installing MySQL on OpenSolaris Using IPS - strona 1

Fragment notatki:

Installing MySQL on OpenSolaris Using IPS
OpenSolaris includes standard packages for MySQL in the core repository. The MySQL packages
are based on a specific release of MySQL and updated periodically. For the latest release you must
use either the native Solaris PKG, tar, or source installations. The native OpenSolaris packages
include SMF files so that you can easily control your MySQL installation, including automatic startup
and recovery, using the native service management tools.
To install MySQL on OpenSolaris, use the pkg command. You will need to be logged in as root, or use
the pfexec tool, as shown in the example below:
shell pfexec pkg install SUNWmysql56
The package set installs three individual packages, SUNWmysql56lib, which contains the MySQL
client libraries; SUNWmysql56r which contains the root components, including SMF and configuration
files; and SUNWmysql56u which contains the scripts, binary tools and other files. You can install these
packages individually if you only need the corresponding components.
The MySQL files are installed into /usr/mysql which symbolic links for the sub directories (bin,
lib, etc.) to a version specific directory. For MySQL 5.6, the full installation is located in /usr/
mysql/5.6. The default data directory is /var/mysql/5.6/data. The configuration file is installed
in /etc/mysql/5.6/my.cnf. This layout permits multiple versions of MySQL to be installed, without
overwriting the data and binaries from other versions.
Once installed, you must run mysql_install_db to initialize the database, and use the
mysql_secure_installation to secure your installation.
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz