cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

StartingUpApacheAndMySQLInSXDE

Starting up Apache and MySQL on Solaris Express Developer Edition 01/08

Solaris Express Developer Edition (SXDE) 01/08 includes a full AMP (Apache-MySQL-PHP) stack, as well as native Ruby support. Together we are calling this the "web stack".

The web stack includes some very useful graphical tools to help you get started and manage your AMP environment.

A lot of NetBeans development needs a database, and there are two databases that are pre-installed and ready to go with Solaris Express Developer Edition 01/08 - MySQL and PostgreSQL.

This page describes how to start MySQL (and Apache).

This howto describes how to start up PostgreSQL.

Initialize the web stack

Choose
All Applications->Developer Tools->Web Stack Admin->Initialize
.

Image:MySQLInitialize_StartingUpApacheAndMySQLInSXDE.jpg

This will ask you for the root password, and then sets up your environment for using the web stack.

Now you can simply enable and start up the MySQL and Apache services, using
All Applications->Developer Tools->Web Stack Admin->Start MySQL/Apache2

Image:MySQLStart_StartingUpApacheAndMySQLInSXDE.jpg

These services will be restarted every time you reboot, so now you just have MySQL and Apache available for your development, no muss, no fuss.

Opening a connection to MySQL from NetBeans

You can follow these instructions to open a connection to MySQL. Use the username 'root' and an empty password. If all is set up correctly, the connection should succeed and you're ready to go.