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

How to install mysql5 under solaris10

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces the knowledge of "how to install mysql5 under solaris10". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

MySQL is an open source database and was acquired by sun. Today we will install MySQL 5 on the Solaris10 platform.

Environment: VMware6.5+Solaris10 x32+MySQL 5.0.51. There are two ways to install MySQL under Solaris10, the first is the binary installation package, and the second is the pkg package. Let's start with the first method, because the second one is very simple. He he!

Step 1: throw the installation package into Solaris.

Step 2: create new users and groups.

Step 3: change the owner and group of the installation file.

Step 4: run the scripts/mysql_install_db file to install MySQL.

Step 5: change the owner of the MySQL directory to root.

Step 6: start the daemon for MySQL.

Step 7: enter MySQL and check whether the installation is successful.

The installation of OK,MySQL was successful. Let's take a look at the second way.

Step 1: first throw the pkg.gz package of MySQL into the virtual machine.

Step 2: unzip it with the command gzip-d filename.

Step 3: install the pkg package with the command pkgadd-d filename, and select all packages by default.

Step 4: complete the installation of MySQL. The default location is / opt/mysql/mysql

Well, both ways of installing MySQL are complete.

This is the end of "how to install mysql5 under solaris10". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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: 209

*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

Servers

Wechat

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

12
Report