Aptana Studioヘルプ > はじめに > Developing Rails Projects with RadRails > Configuring the Eclipse SQL Explorer plug-in for RadRails

Creating a new connection in SQL Explorer

This page explains how to create a new database connection in SQL Explorer.

Introduction

This Help topic will teach you how to create a new database connection in SQL Explorer for RadRails. This is the third step in configuring SQL Explorer to work with RadRails. You will need to create your driver in Eclipse before following the instructions below.

Note: This Help topic is based on the Rolling with Ruby on Rails tutorial from ONLamp:

http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1

Instructions

You should still have the Create New Connection Profile wizard open from the previous step (Creating a new driver in Eclipse) when you start this set of instructions.

To create a new database connection in SQL Explorer:

  1. On the Create New Connection Profile wizard, in the Name field, type a name for the new database connection.
  2. From the Driver drop-down list, select the MySQL Connector/J driver.
  3. In the URL field, type the path to your database.
  4. In the User Name field, type root. (You can modify the suggested values for the User Name and Password fields if they are different for your database.)
  5. Leave the Password field blank.
  6. Click the OK button.

SQL Explorer creates a new connection to your database.

Related Topics