Opportunities @ sun Sushant Kumar

Monday Jun 30, 2008

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
  • . Thats all. Your new password is set. Any next time, if your mysql doesnt responds (or says something like 'Cant connect to server using /temp/mysql.sock') just start Terminal, go to mysql and type ./configure. Have fun. :)
Comments:

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 #

Post a Comment:
  • HTML Syntax: NOT allowed