Search |
||
OpenSolaris 2008.05: Installing MySQL 5Posted by bleonard on June 23, 2008 at 12:25 PM PDT
Looking at the MySQL web site, the instructions for Installing MySQL Community Server seem more complicated then they need to be. Maybe that's because there are no instructions for OpenSolaris (yet - I hope). Here are the easy steps that got me up and running. Install MySQL
Start the MySQL Service
Verify the Installation
»
Related Topics >>
Community Comments
Comments are listed in date ascending order (oldest first)
Submitted by khawjg on Wed, 2008-06-25 00:41.
There is no mysql from the service settings list after installing mysql5 using the package manager. I followed the way how you did it.
Submitted by bleonard on Wed, 2008-06-25 06:39.
Interesting. I should have mentioned this in the entry, but you can also start the service from the command line using the following:
svcadm enable mysql
Does that work for you?
Submitted by peterkarlsson on Sun, 2008-09-21 22:40.
A slightly different way to install MySQL, would be to install the webstack and the webstack gui
$ pfexec pkg install amp westackui
or if you are a developer and want developer tools with your amp stack
pfexec pkg install amp-dev webstackui
The cool thing with this is the nice GUI that you get in the "Application" -> Developer Tools"
Fisrt you get a nice tool initialize the stack, and wen that is do there is set of admin tools for the Webstack, nice :)
And to Hermant's comment on the restart, the issue is that the SMF manifest hasn't been imported to SMF, yiou can do as follows:
$ pfexec svccfg import /var/svc/manifest/application/database/mysql.xml
to verify it's OK
$ svcs -xv mysql
Cheers,
Peter
Submitted by bleonard on Mon, 2008-09-22 08:43.
Yup, I blogged about the Sun Web Stack here:
http://blogs.sun.com/observatory/entry/sun_web_stack
And thanks for the tip on importing the SMF manifest.
/Brian
Submitted by khawjg on Wed, 2008-06-25 21:50.
I did a restart of the workstation this morning and the service settings did list the MySQL RDBMS... Thanks Brian!
Submitted by hemant_bedekar on Fri, 2008-08-29 16:58.
Brian,
With OpenSolaris 2008.05 you gotta restart the Virtual Image after installing MySQL - only then does it show up in the list of Services. Maybe you should add this step to your instructions.
Hemant
hemant at sun dot com
Submitted by spl on Wed, 2009-01-21 12:51.
Hi Brian,
Could you please advice on how to setup MySQL using NetBeans 6.5? Or could you please direct me to a link?
Regards,
Sam
Submitted by bleonard on Wed, 2009-01-21 19:07.
Hi Sam,
NetBeans 6.5 should automatically detect MySQL once it's installed and running? Is this not working for you?
/Brian
Submitted by spl on Thu, 2009-01-22 13:56.
Hi Brian,
It looks like it is working now. However, I don't quite understand how to add table to one of the databases; for example, on test. I have to create some kind of jdbc connection to mysql with root as user, then I could add a table here. Where does the table go after I create them? Please advice.
Regards,
Sam
|
||
|