Search |
|||
Brian Leonard's blogOpenSolaris 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 spl on Thu, 2009-01-22 12: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
Submitted by bleonard on Wed, 2009-01-21 18: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 Wed, 2009-01-21 11: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 hemant_bedekar on Fri, 2008-08-29 15: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 khawjg on Wed, 2008-06-25 20:50.
I did a restart of the workstation this morning and the service settings did list the MySQL RDBMS... Thanks Brian!
Submitted by bleonard on Mon, 2008-09-22 07: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 peterkarlsson on Sun, 2008-09-21 21: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 Wed, 2008-06-25 05: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?
|
ArchivesJune 2008
May 2008 April 2008 March 2008 January 2008 December 2007 September 2007 August 2007 July 2007 June 2007 April 2007 March 2007 January 2007 December 2006 November 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 September 2005 August 2005 July 2005 June 2005 April 2005 March 2005 February 2005 Recent Entries |
||
|