Introduction

The Feature Data Objects (FDO) API provides access to data in a data store. A provider is a specific implementation of the FDO API that provides access to data in a particular data store. The FDO Provider for MySQL provides FDO with access to a MySQL-based data store.

MySQL 5.0.22 and later is supported. You can create, edit, and delete MySQL data stores and schemas, or you can access existing databases in MySQL that were created by other applications. The FDO Provider for MySQL supports native MySQL geometry, indexing, two-dimensional geometry (compatible with the OGC Simple Feature specificaton), and spatial query operations, but not transactions. Auto-generated properties are auto-incremented. MySQL uses a revision number for optimistic concurrency.

Note:
If you cannot connect to your MySQL data source and you receive the error message, "Specified credentials are not valid or the provider is unable to establish a connection," copy the libmySQL.dll file into the \FDO\bin folder under the Autodesk product install folder to resolve the problem.

A MySQL schema can support the following:

When you create a MySQL schema, the following restrictions apply:

The FDO Provider for MySQL API provides custom commands that are specifically designed to work with the FDO API. For example, using these commands, you can do the following:

There is also support for spatial data types.

The MySQL architecture supports different storage engines. Choose an engine as needed, depending on its characteristics and capabilities, such as the following:

For more information, see The Essential FDO and the FDO Developer's Guide.