Sun Jdbc-Odbc Bridge Driver - MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

Creating an ODBC connection
Before connecting through an ODBC driver, make sure the appropriate ODBC driver and the
Sun JDBC-ODBC Bridge driver are installed on the Windows computer running the JSP
application server .
To connect through an ODBC driver in JSP:
Define a DSN on the Windows system hosting your application server.
1
For instructions, see the following articles on the Microsoft website:
Windows 98 users, see Microsoft Knowledge Base Article 300595 at
support.microsoft.com/default.aspx?scid=kb;en-us;300595
Windows 2000 users, see Microsoft Knowledge Base Article 300596 at
support.microsoft.com/default.aspx?scid=kb;en-us;300596
Windows XP users, see Microsoft Knowledge Base Article 305599 at
support.microsoft.com/default.aspx?scid=kb;en-us;305599
Open a JSP page in Dreamweaver, then open the Databases panel (Window > Databases).
2
The panel displays the connections defined for that site.
Click the Plus (+) button on the panel and select Sun JDBC-ODBC Driver (ODBC Database)
3
from the pop-up menu.
The Sun JDBC-ODBC Driver (ODBC Database) dialog box appears.
Enter a name for the new connection.
4
Note: Do not use any spaces or special characters in the name.
Replace the
5
[odbc dsn]
The URL box should look like this:
jdbc:odbc:myDSN
Specify the user name and password to access the database.
6
If you don't need a user name or password, leave the boxes blank. For example, if your DSN is
called Acme and you don't need a user name or password to access the database, enter the
following parameter values:
Driver:
sun.jdbc.odbc.JdbcOdbcDriver
URL:
jdbc:odbc:Acme
Username:
Password:
Specify the location of the JDBC-ODBC Bridge driver.
7
If the driver is installed on the same computer as Dreamweaver, select the Using Driver On
This Machine option.
If the driver is not installed on the same computer as Dreamweaver, select the Using Driver
On Testing Server option.
Macintosh users can ignore this step because all database connections use the
application server.
484
Chapter 27: Database Connections for JSP Developers
placeholder in the URL box with the DSN you defined in step 1.
http://
http://
http://

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents