Get the App
SLTechnology News&Howtos  ›  Database  › 

Package installation of mysql 5.1.25 for Solaris 9 sprc

Shulou Source: shulou.com Published: 2022-06-01 05:46:06 11月17日 Update

Originally wanted to download.tar.gz to install, did not expect to download the decompression problems, had to download an installation package to download.

1. Installed packages:

mysql-5.1.25-rc-solaris9-sparc-64bit.pkg

2. Create mysql users and groups. If not created, the install file install/request below the package will be checked.

You can also modify this file to achieve your goals.

3. Use root, unpack directly to install

pkgadd -d mysql-5.1.25-rc-solaris9-sparc-64bit.pkg

4. After installation,

In/etc/, create a my.cnf configuration file and map it to the mysql configuration file after installation.

e.g. support-files/binary-configure support-files/my-medium.cnf

support-files/config.huge.ini support-files/my-small.cnf

support-files/config.medium.ini support-files/mysql-log-rotate

support-files/config.small.ini support-files/mysql.server

Modify the parameters in/etc/my.cnf to specify the directory of the data file.

basedir = /usr/local/mysql

datadir = /usr/local/mysql/data

5. Using scripts, create standard libraries. Before this step, complete step 4, otherwise there will be a problem in step 6

scripts/mysql_install_db

6. Start MySQL and you'll be fine.

[@more@]

Tags: Files steps directories problems security configuration parameters data standards users purposes scripts facets check Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker OPPO Reno MariaDB vpn