How to install MySQL on OpenSolaris
By Jennifer Glore on Nov 06, 2008
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.