How to install MySQL on OpenSolaris

I know that this is well documented in many places on the web, but one of the comments that I saw to an earlier blog post was around installing MySQL via OpenSolaris.  David Comay provided some answers in the comments, which I thought that I would reiterate here.  This works for OpenSolaris 2008.05.

With a one line command, you can install MySQL:

pfexec pkg install SUNWmysql5

If you are looking for the entire AMP stack, you can install Apache, MySQL, and PHP using the command:

pfexec pkg install amp

And, if you are looking for the entire AMP stack with developer tools, use the following command:

pfexec pkg install amp-dev

Note that pfexec will allows you to run a privileged command as a non-root user provided that you have the authorization to do so.


The software that is installed with the commands above is placed in /usr.

If you are looking to do a GUI based install, check out this blog

Comments:

what would be really useful for developers is step by step instructions on going from metal to an OpenSolaris install that can be used to build a mysql server from a bzr source tree.

Posted by Stewart Smith on November 07, 2008 at 06:49 AM PST #

I'd also like to see instructions on getting Percona's patches into an OpenSolaris install in an easy way. Their patches add a lot of functionality that's a really compelling add-on for large enterprises. I'm looking forward to an easier way to deploy and upgrade their builds on farms of servers across data centers.

Posted by Martin on November 07, 2008 at 09:15 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jennifer Glore

Search

Categories
Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today