I browsed through many documents while i was installing mysql 5.0 on my new OpenSolaris (indiana 2008.05).
Though most of those documents were informative , but for installing mysql on your local machine for developement doesnt need that much
complexity at all.
So here is the simplest steps to install Mysql .
- Download Mysql.tar.gz from mysql.com
- Extract mysql to location of your choice
- Start Terminal.Go to mysql directory.( cd mysql)
- On terminal, type ./configure
- Right after this command, a series of executions happens. All your setup is done.Even mysqld starts running.Thats all.
- Next , you need to set Root password.For this login as super user. (type su and type your super user opassword at password prompt)
- Go to mysql/bin directory. Type ./mysqladmin password
The easiest way to install MySQL on OpenSolaris is simply:
% pfexec pkg install SUNWmysql5
See the Web Stack project
http://opensolaris.org/os/project/webstack/
for more on using AMP (and related) components on OpenSolaris.
Posted by Jyri on June 30, 2008 at 10:38 AM PDT #