MySQL Data Repository
Note: |
This feature is available in the Corporate, Business and Software Engineering, System Engineering and Ultimate editions. |
In order to use a MySQL data repository, you must connect to it in Enterprise Architect first. Before connecting to the repository, you must set up a MySQL ODBC driver.
To connect to a MySQL data repository in Enterprise Architect, follow the steps below:
- In the Open Project dialog, select the Connect to Server checkbox.
- Click on the [ ... ] (Browse) button, as you normally would to browse for a project. As you have selected the Connect to Server checkbox, the Data Link Properties dialog displays instead of the Browse Directories dialog.

- Select Microsoft OLE DB Provider for ODBC Drivers from the list.
- Click on the Next button. The Connection tab displays.

- Click on the Use data source name radio button and on the drop-down arrow in its field. Select the ODBC driver you have set up to connect to your MySQL repository from the list. In the setup example the driver title is Changes.
- If required, type in a User name and Password.
- If required, type in an initial catalog.
- Click on the Test Connection button to confirm that the details are correct.
- If the test succeeds, click on the OK button.
- If the test does not succeed, revise your settings.
- After you have clicked on the OK button, the Connection Name & Type dialog displays.

- Give the connection a suitable name so that you can recognize it in the Recent Projects panel on the Open Project dialog.
- If required, select the Encrypt Connection String checkbox. This encrypts and hides the connection details of the database from the users that the connection string is given to.
- If required, select the Lazy Load checkbox to not load the full project view when the model is loaded. Instead, only the parts that are necessary to display the visible portion of the tree are loaded. This means that a model loads faster and users can begin work sooner, but at the expense of later small delays as Enterprise Architect loads specific portions of the model.
- If required, select the Use WAN Optimization checkbox. (To improve performance over a Wide Area Network, remote database calls can be routed through a WAN Optimizer that compresses the data returned from the repository, reducing transfer time.)
If you select this checkbox, complete the next three fields (see your administrator for the correct values). Otherwise go to step 19. - In the Server field, type the network name or address of the optimizer server.
- In the Port field, type the port on which the server is running on the remote machine.
- In the DSN field, type the data source name of the database as it appears on the remote machine.
- Click on the OK button to complete the configuration.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2010 Sparx Systems Pty Ltd.