Oracle 5.0 Reference Manual page 1794

Table of Contents

Advertisement

20.1.5.2. Step-by-step Guide to Connecting to a MySQL Database through Connector/
ODBC
A typical situation where you would install Connector/ODBC is to access a database on a Linux or Unix
host from a Windows machine.
As an example of the process required to set up access between two machines, the steps below take
you through the basic steps. These instructions assume that you connect to system ALPHA from
system BETA with a user name and password of
On system ALPHA (the MySQL server) follow these steps:
1. Start the MySQL server.
2. Use
GRANT
using a password of
GRANT ALL ON test.* to 'myuser'@'BETA' IDENTIFIED BY 'mypassword';
For more information about MySQL privileges, refer to
Management".
On system BETA (the Connector/ODBC client), follow these steps:
1. Configure a Connector/ODBC DSN using parameters that match the server, database and
authentication information that you have just configured on system ALPHA.
Parameter
DSN
SERVER
DATABASE
USER
PASSWORD mypassword
2. Using an ODBC-capable application, such as Microsoft Office, connect to the MySQL server using
the DSN you have just created. If the connection fails, use tracing to examine the connection
process. See
20.1.5.3. Connector/ODBC and Third-Party ODBC Tools
Once you have configured your Connector/ODBC DSN, you can access your MySQL database through
any application that supports the ODBC interface, including programming languages and third-party
applications. This section contains guides and help on using Connector/ODBC with various ODBC-
compatible tools and applications, including Microsoft Word, Microsoft Excel and Adobe/Macromedia
ColdFusion.
Connector/ODBC has been tested with the following applications:
Publisher
Adobe
Borland
Business Objects
Claris
Connector/ODBC Examples
to set up an account with a user name of
to the database test:
myuser
Value
remote_test
ALPHA
test
myuser
Section 20.1.4.8, "Getting an ODBC Trace
Application
ColdFusion
C++ Builder
Builder 4
Delphi
Crystal Reports
Filemaker Pro
and mypassword.
myuser
myuser
Section 6.3, "MySQL User Account
Comment
A name to identify the connection.
The address of the remote server.
The name of the default database.
The user name configured for access to this database.
The password for myuser.
File", for more information.
Notes
Formerly Macromedia ColdFusion
1774
that can connect from system BETA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents