Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Package installation of mysql 5.1.25 for Solaris 9 sprc

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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@]

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report