Connecting to a Db2 Big SQL server
To run Db2 Big SQL queries, you must first connect to an Db2 Big SQL server.
You can use any client that uses JDBC drivers to define a connection to the Db2 Big SQL server. These examples reference IBM Data Studio. Be aware that the interface and menu examples might be different in your environment.
About this task
- From the Data Studio environment, click .
- From the Data Source Explorer view, expand the Database Connections folder.
- Right-click the Db2 Big SQL connection,
which has the name that you defined when you created the driver
definition, such as Db2 Big SQL. Select Properties.
- If you are using IBM Data Studio, click Driver Properties to verify the host name and other connection information.
- Click Test Connection to make sure
that you have a valid connection to the Db2 Big SQL server.
If you have a valid connection, click OK.
If you do not have a connection, follow these steps:
- From IBM Data Studio
- From the Data Source Explorer view, right-click the Database Connections directory, and click New.
- In the Connection Parameters window, clear the Use default naming check box.
- Type a meaningful name in the Connection Name field, such as myBigSQL.
- In the Select a database manager menu, click Big SQL.
- Select the driver in the JDBC driver field. Click the edit button to modify the JDBC drivers.
- Complete the Properties fields:
- Database - bigsql
- Host - abc.com
- Port - 32051
- User name - bigsql
- Password - bigsql
- Select the Save password check box to save the password for the Db2 Big SQL server login.
- The Connection URL field displays the generated URL, for
- Click Test Connection to ping the server and to verify that the connection profile is working.
- Click Finish to create the connection profile.